#[repr(C)]pub enum FocusDirection {
Up = 0,
Down = 1,
Left = 2,
Right = 3,
}Expand description
Which way FocusTarget::Directional should move.
Variants§
Trait Implementations§
Source§impl Clone for FocusDirection
impl Clone for FocusDirection
Source§fn clone(&self) -> FocusDirection
fn clone(&self) -> FocusDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FocusDirection
Source§impl Debug for FocusDirection
impl Debug for FocusDirection
impl Eq for FocusDirection
Source§impl Hash for FocusDirection
impl Hash for FocusDirection
Source§impl Ord for FocusDirection
impl Ord for FocusDirection
Source§fn cmp(&self, other: &FocusDirection) -> Ordering
fn cmp(&self, other: &FocusDirection) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FocusDirection
impl PartialEq for FocusDirection
Source§impl PartialOrd for FocusDirection
impl PartialOrd for FocusDirection
impl StructuralPartialEq for FocusDirection
Auto Trait Implementations§
impl Freeze for FocusDirection
impl RefUnwindSafe for FocusDirection
impl Send for FocusDirection
impl Sync for FocusDirection
impl Unpin for FocusDirection
impl UnsafeUnpin for FocusDirection
impl UnwindSafe for FocusDirection
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