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
sourceimpl Clone for TreeItemAction
impl Clone for TreeItemAction
sourcefn clone(&self) -> TreeItemAction
fn clone(&self) -> TreeItemAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TreeItemAction
impl Debug for TreeItemAction
impl Copy for TreeItemAction
Auto Trait Implementations
impl RefUnwindSafe for TreeItemAction
impl Send for TreeItemAction
impl Sync for TreeItemAction
impl Unpin for TreeItemAction
impl UnwindSafe for TreeItemAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more