Struct diskscan::EntrySnapshotRef
source · pub struct EntrySnapshotRef<'a, W> { /* private fields */ }
Implementations§
source§impl<'a, W: AsRef<EntrySnapshot>> EntrySnapshotRef<'a, W>
impl<'a, W: AsRef<EntrySnapshot>> EntrySnapshotRef<'a, W>
pub fn iter(&self) -> impl Iterator<Item = EntrySnapshotRef<'a, W>>
sourcepub fn get_nth_child(&self, n: usize) -> Option<EntrySnapshotRef<'a, W>>
pub fn get_nth_child(&self, n: usize) -> Option<EntrySnapshotRef<'a, W>>
Returns reference to n-th child
pub fn get_parent(&self) -> Option<EntrySnapshotRef<'a, W>>
pub fn new(id: Id, arena: &'a Arena<W>) -> Option<Self>
Trait Implementations§
source§impl<'a, W: Clone> Clone for EntrySnapshotRef<'a, W>
impl<'a, W: Clone> Clone for EntrySnapshotRef<'a, W>
source§fn clone(&self) -> EntrySnapshotRef<'a, W>
fn clone(&self) -> EntrySnapshotRef<'a, W>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more