Struct prodash::progress::Key [−][src]
pub struct Key(_, _, _, _);
Expand description
A type identifying a spot in the hierarchy of Tree
items.
Implementations
Return the key to the child identified by child_id
located in a new nesting level below self
.
The level of hierarchy a node is placed in, i.e. the amount of path components
Return true if the item identified by other
shares the parent at parent_level
.
Compute the adjacency map for the key in sorted
at the given index
.
It’s vital that the invariant of sorted
to actually be sorted by key is upheld
for the result to be reliable.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Key
impl UnwindSafe for Key
Blanket Implementations
Mutably borrows from an owned value. Read more