pub enum TreeOperation {
Expand {
path: Vec<usize>,
},
Collapse {
path: Vec<usize>,
},
ToggleBatch {
expanded: Vec<Vec<usize>>,
collapsed: Vec<Vec<usize>>,
},
}Expand description
Tree expansion operation types.
Variants§
Implementations§
Source§impl TreeOperation
impl TreeOperation
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Get a description of this operation.
Trait Implementations§
Source§impl Clone for TreeOperation
impl Clone for TreeOperation
Source§fn clone(&self) -> TreeOperation
fn clone(&self) -> TreeOperation
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 moreAuto Trait Implementations§
impl Freeze for TreeOperation
impl RefUnwindSafe for TreeOperation
impl Send for TreeOperation
impl Sync for TreeOperation
impl Unpin for TreeOperation
impl UnwindSafe for TreeOperation
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