pub struct Parent<V> {
pub ptr: NodePtr,
pub coordinates: V,
pub child_index: ChildIndex,
}
Expand description
Info about a node’s parent.
Fields§
§ptr: NodePtr
§coordinates: V
§child_index: ChildIndex
Trait Implementations§
impl<V: Eq> Eq for Parent<V>
impl<V> StructuralPartialEq for Parent<V>
Auto Trait Implementations§
impl<V> Freeze for Parent<V>where
V: Freeze,
impl<V> RefUnwindSafe for Parent<V>where
V: RefUnwindSafe,
impl<V> Send for Parent<V>where
V: Send,
impl<V> Sync for Parent<V>where
V: Sync,
impl<V> Unpin for Parent<V>where
V: Unpin,
impl<V> UnwindSafe for Parent<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