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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a, W: Debug> Debug for EntrySnapshotRef<'a, W>
impl<'a, W: Debug> Debug for EntrySnapshotRef<'a, W>
Auto Trait Implementations§
impl<'a, W> Freeze for EntrySnapshotRef<'a, W>
impl<'a, W> RefUnwindSafe for EntrySnapshotRef<'a, W>where
W: RefUnwindSafe,
impl<'a, W> Send for EntrySnapshotRef<'a, W>where
W: Sync,
impl<'a, W> Sync for EntrySnapshotRef<'a, W>where
W: Sync,
impl<'a, W> Unpin for EntrySnapshotRef<'a, W>
impl<'a, W> UnwindSafe for EntrySnapshotRef<'a, W>where
W: RefUnwindSafe,
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