pub enum FocusDir {
Next,
Prev,
}Expand description
A direction to advance focus in move_focus.
Variants§
Next
Advance to the next id in order, wrapping past the end to the first.
Prev
Advance to the previous id in order, wrapping past the start to the last.
Trait Implementations§
impl Copy for FocusDir
impl Eq for FocusDir
impl StructuralPartialEq for FocusDir
Auto Trait Implementations§
impl Freeze for FocusDir
impl RefUnwindSafe for FocusDir
impl Send for FocusDir
impl Sync for FocusDir
impl Unpin for FocusDir
impl UnsafeUnpin for FocusDir
impl UnwindSafe for FocusDir
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