pub enum FocusedWidget {
Previous,
Next,
Offset(u32),
}Expand description
Target widget selection for keyboard focus
Variants§
Previous
Previous widget
Next
Next widget
Offset(u32)
Widget using a relative positive offset (0 is the next widget).
Use this to access sub components of a multiple component widget.
Trait Implementations§
Source§impl Clone for FocusedWidget
impl Clone for FocusedWidget
Source§fn clone(&self) -> FocusedWidget
fn clone(&self) -> FocusedWidget
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 moreSource§impl Debug for FocusedWidget
impl Debug for FocusedWidget
Source§impl Hash for FocusedWidget
impl Hash for FocusedWidget
Source§impl PartialEq for FocusedWidget
impl PartialEq for FocusedWidget
impl Copy for FocusedWidget
impl Eq for FocusedWidget
impl StructuralPartialEq for FocusedWidget
Auto Trait Implementations§
impl Freeze for FocusedWidget
impl RefUnwindSafe for FocusedWidget
impl Send for FocusedWidget
impl Sync for FocusedWidget
impl Unpin for FocusedWidget
impl UnwindSafe for FocusedWidget
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