Enum cursive_tree_view::Placement
source ·
[−]pub enum Placement {
After,
Before,
FirstChild,
LastChild,
Parent,
}
Expand description
Determines how items are inserted into a TreeView
.
Variants
After
The item is inserted as a sibling after the specified row.
Before
The item is inserted as a sibling before the specified row.
FirstChild
The item is inserted as new child of the specified row, placed before all other existing children.
LastChild
The item is inserted as new child of the specified row, placed after all other existing children.
Parent
The item is inserted as the new immediate parent of the specified row.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Placement
impl UnwindSafe for Placement
Blanket Implementations
Mutably borrows from an owned value. Read more
Calls the given closure and return the result. Read more
Calls the given closure on self
.