pub struct Tree { /* private fields */ }
Implementations§
Source§impl Tree
impl Tree
pub fn new(initial_state: TreeUpdate, is_host_focused: bool) -> Self
pub fn update(&mut self, update: TreeUpdate)
pub fn update_and_process_changes( &mut self, update: TreeUpdate, handler: &mut impl ChangeHandler, )
pub fn update_host_focus_state(&mut self, is_host_focused: bool)
pub fn update_host_focus_state_and_process_changes( &mut self, is_host_focused: bool, handler: &mut impl ChangeHandler, )
pub fn state(&self) -> &State
Auto Trait Implementations§
impl Freeze for Tree
impl RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnwindSafe for Tree
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