Struct im_pathtree::InnerNode 
source · pub struct InnerNode<T>where
    T: PathTreeTypes,{
    pub value: <T as PathTreeTypes>::InnerValue,
    /* private fields */
}Expand description
Intrinsic data of an inner node.
Fields§
§value: <T as PathTreeTypes>::InnerValueImplementations§
source§impl<T> InnerNode<T>where
    T: PathTreeTypes,
 
impl<T> InnerNode<T>where
    T: PathTreeTypes,
sourcepub fn new(value: <T as PathTreeTypes>::InnerValue) -> Self
 
pub fn new(value: <T as PathTreeTypes>::InnerValue) -> Self
Construct an empty inner node with no children
pub fn children(&self) -> impl Iterator<Item = NodeId> + '_
pub fn count_children_recursively<'a>(&'a self, tree: &'a PathTree<T>) -> usize
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for InnerNode<T>where
    <T as PathTreeTypes>::InnerValue: RefUnwindSafe,
    <T as PathTreeTypes>::PathSegment: RefUnwindSafe,
impl<T> Send for InnerNode<T>
impl<T> Sync for InnerNode<T>
impl<T> Unpin for InnerNode<T>
impl<T> UnwindSafe for InnerNode<T>where
    <T as PathTreeTypes>::InnerValue: UnwindSafe,
    <T as PathTreeTypes>::PathSegment: UnwindSafe + 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