pub struct Snapshot { /* private fields */ }Expand description
A portable snapshot of the MDC.
Implementations§
Source§impl Snapshot
impl Snapshot
Sourcepub fn safe_mut(&mut self) -> &mut Map
pub fn safe_mut(&mut self) -> &mut Map
Returns a mutable reference to the safe entries in the snapshot.
Sourcepub fn unsafe_(&self) -> &Map
pub fn unsafe_(&self) -> &Map
Returns a shared reference to the unsafe entries in the snapshot.
Sourcepub fn unsafe_mut(&mut self) -> &mut Map
pub fn unsafe_mut(&mut self) -> &mut Map
Returns a shared reference to the unsafe entries in the snapshot.
Trait Implementations§
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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