pub struct FocusConfig {
pub tab_index: i32,
pub auto_focus: bool,
}Fields§
§tab_index: i32Tab index: -1 = not tabbable, 0 = natural order, >0 = explicit order.
auto_focus: boolWhether this node should auto-focus when mounted.
Trait Implementations§
Source§impl Clone for FocusConfig
impl Clone for FocusConfig
Source§fn clone(&self) -> FocusConfig
fn clone(&self) -> FocusConfig
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 moreAuto Trait Implementations§
impl Freeze for FocusConfig
impl RefUnwindSafe for FocusConfig
impl Send for FocusConfig
impl Sync for FocusConfig
impl Unpin for FocusConfig
impl UnsafeUnpin for FocusConfig
impl UnwindSafe for FocusConfig
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