pub struct TreeRowNodeState {
pub is_expanded: bool,
pub has_children: bool,
pub is_marked: bool,
}Expand description
Node-specific flags used while rendering a row.
Fields§
§is_expanded: boolWhether the node is currently expanded.
has_children: boolWhether the node has children.
is_marked: boolWhether the node is marked (directly or via its subtree).
Trait Implementations§
Source§impl Clone for TreeRowNodeState
impl Clone for TreeRowNodeState
Source§fn clone(&self) -> TreeRowNodeState
fn clone(&self) -> TreeRowNodeState
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 moreimpl Copy for TreeRowNodeState
Auto Trait Implementations§
impl Freeze for TreeRowNodeState
impl RefUnwindSafe for TreeRowNodeState
impl Send for TreeRowNodeState
impl Sync for TreeRowNodeState
impl Unpin for TreeRowNodeState
impl UnsafeUnpin for TreeRowNodeState
impl UnwindSafe for TreeRowNodeState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more