pub struct Leaf<'r, T> {
pub entity: &'r T,
pub index: usize,
}Fields§
§entity: &'r T§index: usizeImplementations§
Trait Implementations§
impl<T> Copy for Leaf<'_, T>
impl<'r, T: Eq> Eq for Leaf<'r, T>
Source§impl<P, B, KB, F, K> RightKeySet<Leaf<'_, P>> for ParentChildKeys<KB, F>
impl<P, B, KB, F, K> RightKeySet<Leaf<'_, P>> for ParentChildKeys<KB, F>
impl<'r, T: PartialEq> StructuralPartialEq for Leaf<'r, T>
Auto Trait Implementations§
impl<'r, T> Freeze for Leaf<'r, T>
impl<'r, T> RefUnwindSafe for Leaf<'r, T>where
&'r T: RefUnwindSafe,
impl<'r, T> Send for Leaf<'r, T>
impl<'r, T> Sync for Leaf<'r, T>
impl<'r, T> Unpin for Leaf<'r, T>
impl<'r, T> UnsafeUnpin for Leaf<'r, T>where
&'r T: UnsafeUnpin,
impl<'r, T> UnwindSafe for Leaf<'r, T>where
&'r T: UnwindSafe,
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