Struct im_pathtree::TreeNodeParent
source · pub struct TreeNodeParent<T: PathTreeTypes> {
pub id: NodeId,
pub path_segment: <T as PathTreeTypes>::PathSegment,
}
Expand description
Link of non-root node in the tree.
Fields§
§id: NodeId
The id of the parent node.
path_segment: <T as PathTreeTypes>::PathSegment
Path segment for addressing the child from the parent.
Trait Implementations§
source§impl<T: Clone + PathTreeTypes> Clone for TreeNodeParent<T>
impl<T: Clone + PathTreeTypes> Clone for TreeNodeParent<T>
source§fn clone(&self) -> TreeNodeParent<T>
fn clone(&self) -> TreeNodeParent<T>
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 moreAuto Trait Implementations§
impl<T> RefUnwindSafe for TreeNodeParent<T>where <T as PathTreeTypes>::PathSegment: RefUnwindSafe,
impl<T> Send for TreeNodeParent<T>where <T as PathTreeTypes>::PathSegment: Send,
impl<T> Sync for TreeNodeParent<T>where <T as PathTreeTypes>::PathSegment: Sync,
impl<T> Unpin for TreeNodeParent<T>where <T as PathTreeTypes>::PathSegment: Unpin,
impl<T> UnwindSafe for TreeNodeParent<T>where <T as PathTreeTypes>::PathSegment: 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