pub enum BranchState {
Expanded,
Collapsed,
}Expand description
State for Branch tree node.
Variants§
Implementations§
Source§impl BranchState
impl BranchState
Sourcepub fn is_expanded(&self) -> bool
pub fn is_expanded(&self) -> bool
Whether the branch node is expanded.
Sourcepub fn is_collapsed(&self) -> bool
pub fn is_collapsed(&self) -> bool
Whether the branch node is collapsed.
Trait Implementations§
Source§impl Clone for BranchState
impl Clone for BranchState
Source§fn clone(&self) -> BranchState
fn clone(&self) -> BranchState
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 BranchState
impl Debug for BranchState
Source§impl Default for BranchState
impl Default for BranchState
Source§fn default() -> BranchState
fn default() -> BranchState
Returns the “default value” for a type. Read more
impl Copy for BranchState
Auto Trait Implementations§
impl Freeze for BranchState
impl RefUnwindSafe for BranchState
impl Send for BranchState
impl Sync for BranchState
impl Unpin for BranchState
impl UnsafeUnpin for BranchState
impl UnwindSafe for BranchState
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