pub struct FocusState { /* private fields */ }Implementations§
Source§impl FocusState
impl FocusState
pub fn sync_from_tree<Message>(&mut self, tree: &Node<Message>)
pub fn current(&self) -> Option<usize>
pub fn set_current(&mut self, current: Option<usize>)
pub fn set_scope_key(&mut self, scope_key: Option<String>)
pub fn scope_key(&self) -> Option<&str>
pub fn next(&mut self)
pub fn prev(&mut self)
Trait Implementations§
Source§impl Debug for FocusState
impl Debug for FocusState
Source§impl Default for FocusState
impl Default for FocusState
Source§fn default() -> FocusState
fn default() -> FocusState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FocusState
impl RefUnwindSafe for FocusState
impl Send for FocusState
impl Sync for FocusState
impl Unpin for FocusState
impl UnsafeUnpin for FocusState
impl UnwindSafe for FocusState
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