pub enum ViewFocusDirection {
Undefined,
Forward,
Backward,
}Expand description
Represents the direction in which focus transitioned across views.
Variants§
Undefined
The transition did not have a direction, such as a programmatic request or focus loss.
Forward
The transition was forward, typically from pressing Tab.
Backward
The transition was backward, typically from pressing Shift+Tab.
Trait Implementations§
Source§impl Clone for ViewFocusDirection
impl Clone for ViewFocusDirection
impl Copy for ViewFocusDirection
Source§impl Debug for ViewFocusDirection
impl Debug for ViewFocusDirection
impl Eq for ViewFocusDirection
Source§impl PartialEq for ViewFocusDirection
impl PartialEq for ViewFocusDirection
impl StructuralPartialEq for ViewFocusDirection
Auto Trait Implementations§
impl Freeze for ViewFocusDirection
impl RefUnwindSafe for ViewFocusDirection
impl Send for ViewFocusDirection
impl Sync for ViewFocusDirection
impl Unpin for ViewFocusDirection
impl UnsafeUnpin for ViewFocusDirection
impl UnwindSafe for ViewFocusDirection
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.