pub enum TreeItemAction {
Unknown,
Expand(ExpandState),
State {
old: TreeItemState,
new: TreeItemState,
},
}
Expand description
An action that can be applied to a tree item. Used in events
Variants§
Unknown
An unexpected value was passed to NWG
Expand(ExpandState)
A tree item was expanded or collapsed.
State
The state of the item was changed
Trait Implementations§
Source§impl Clone for TreeItemAction
impl Clone for TreeItemAction
Source§fn clone(&self) -> TreeItemAction
fn clone(&self) -> TreeItemAction
Returns a duplicate 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 moreSource§impl Debug for TreeItemAction
impl Debug for TreeItemAction
impl Copy for TreeItemAction
Auto Trait Implementations§
impl Freeze for TreeItemAction
impl RefUnwindSafe for TreeItemAction
impl Send for TreeItemAction
impl Sync for TreeItemAction
impl Unpin for TreeItemAction
impl UnwindSafe for TreeItemAction
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