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§
impl Copy for Placement
impl Eq for Placement
impl StructuralPartialEq for Placement
Auto Trait Implementations§
impl Freeze for Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnwindSafe for Placement
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