pub struct ChildRelation<V> {
pub child: NodePtr,
pub parent: Option<Parent<V>>,
}
Fields§
§child: NodePtr
§parent: Option<Parent<V>>
Trait Implementations§
Source§impl<V: Clone> Clone for ChildRelation<V>
impl<V: Clone> Clone for ChildRelation<V>
Source§fn clone(&self) -> ChildRelation<V>
fn clone(&self) -> ChildRelation<V>
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 moreSource§impl<V: Debug> Debug for ChildRelation<V>
impl<V: Debug> Debug for ChildRelation<V>
Source§impl<V: PartialEq> PartialEq for ChildRelation<V>
impl<V: PartialEq> PartialEq for ChildRelation<V>
impl<V: Eq> Eq for ChildRelation<V>
impl<V> StructuralPartialEq for ChildRelation<V>
Auto Trait Implementations§
impl<V> Freeze for ChildRelation<V>where
V: Freeze,
impl<V> RefUnwindSafe for ChildRelation<V>where
V: RefUnwindSafe,
impl<V> Send for ChildRelation<V>where
V: Send,
impl<V> Sync for ChildRelation<V>where
V: Sync,
impl<V> Unpin for ChildRelation<V>where
V: Unpin,
impl<V> UnwindSafe for ChildRelation<V>where
V: 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