Struct DatapackHandle
pub struct DatapackHandle { /* private fields */ }Expand description
A reference to one entry of a published set. It checks its session and generation on every read, so one kept across a reload fails instead of reading the new value by name or slot.
Implementations§
Trait Implementations§
§impl Clone for DatapackHandle
impl Clone for DatapackHandle
§fn clone(&self) -> DatapackHandle
fn clone(&self) -> DatapackHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for DatapackHandle
impl Debug for DatapackHandle
impl Eq for DatapackHandle
§impl PartialEq for DatapackHandle
impl PartialEq for DatapackHandle
impl StructuralPartialEq for DatapackHandle
Auto Trait Implementations§
impl Freeze for DatapackHandle
impl RefUnwindSafe for DatapackHandle
impl Send for DatapackHandle
impl Sync for DatapackHandle
impl Unpin for DatapackHandle
impl UnsafeUnpin for DatapackHandle
impl UnwindSafe for DatapackHandle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more