pub struct TreeState {
pub expanded: HashSet<u64>,
pub selected: Option<u64>,
}Expand description
Caller-owned expansion and selection state for Frame::tree.
Fields§
§expanded: HashSet<u64>§selected: Option<u64>Trait Implementations§
Auto Trait Implementations§
impl Forget for TreeState
impl Freeze for TreeState
impl Move for TreeState
impl RefUnwindSafe for TreeState
impl Send for TreeState
impl Sync for TreeState
impl Unpin for TreeState
impl UnsafeUnpin for TreeState
impl UnwindSafe for TreeState
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