Struct witchcraft_log::mdc::Snapshot
source · [−]pub struct Snapshot { /* private fields */ }
Expand description
A portable snapshot of the MDC.
Implementations
sourceimpl 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 StructuralEq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more