pub enum MotionPreference {
NoPreference,
Reduced,
}Expand description
User motion preference.
Variants§
Implementations§
Source§impl MotionPreference
impl MotionPreference
pub fn allows_motion(self) -> bool
Trait Implementations§
Source§impl Clone for MotionPreference
impl Clone for MotionPreference
Source§fn clone(&self) -> MotionPreference
fn clone(&self) -> MotionPreference
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 moreSource§impl Debug for MotionPreference
impl Debug for MotionPreference
Source§impl Hash for MotionPreference
impl Hash for MotionPreference
Source§impl Ord for MotionPreference
impl Ord for MotionPreference
Source§fn cmp(&self, other: &MotionPreference) -> Ordering
fn cmp(&self, other: &MotionPreference) -> 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
Source§impl PartialEq for MotionPreference
impl PartialEq for MotionPreference
Source§fn eq(&self, other: &MotionPreference) -> bool
fn eq(&self, other: &MotionPreference) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MotionPreference
impl PartialOrd for MotionPreference
impl Copy for MotionPreference
impl Eq for MotionPreference
impl StructuralPartialEq for MotionPreference
Auto Trait Implementations§
impl Freeze for MotionPreference
impl RefUnwindSafe for MotionPreference
impl Send for MotionPreference
impl Sync for MotionPreference
impl Unpin for MotionPreference
impl UnsafeUnpin for MotionPreference
impl UnwindSafe for MotionPreference
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