pub enum GyroscopeScale {
TwoHundredAndFifty,
FiveHundred,
OneThousand,
TwoThousand,
}
Variants§
Implementations§
Source§impl GyroscopeScale
impl GyroscopeScale
pub fn rotation_radians_per_second(&self, value: i16) -> f32
Trait Implementations§
Source§impl Clone for GyroscopeScale
impl Clone for GyroscopeScale
Source§fn clone(&self) -> GyroscopeScale
fn clone(&self) -> GyroscopeScale
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 GyroscopeScale
impl Debug for GyroscopeScale
Source§impl PartialEq for GyroscopeScale
impl PartialEq for GyroscopeScale
impl Copy for GyroscopeScale
impl Eq for GyroscopeScale
impl StructuralPartialEq for GyroscopeScale
Auto Trait Implementations§
impl Freeze for GyroscopeScale
impl RefUnwindSafe for GyroscopeScale
impl Send for GyroscopeScale
impl Sync for GyroscopeScale
impl Unpin for GyroscopeScale
impl UnwindSafe for GyroscopeScale
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