pub struct ShakeOffset {
pub translation: [f32; 2],
pub roll: f32,
}Fields§
§translation: [f32; 2]§roll: f32Implementations§
Trait Implementations§
Source§impl Clone for ShakeOffset
impl Clone for ShakeOffset
Source§fn clone(&self) -> ShakeOffset
fn clone(&self) -> ShakeOffset
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 ShakeOffset
impl Debug for ShakeOffset
Source§impl Default for ShakeOffset
impl Default for ShakeOffset
Source§fn default() -> ShakeOffset
fn default() -> ShakeOffset
Returns the “default value” for a type. Read more
Source§impl PartialEq for ShakeOffset
impl PartialEq for ShakeOffset
Source§fn eq(&self, other: &ShakeOffset) -> bool
fn eq(&self, other: &ShakeOffset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ShakeOffset
impl StructuralPartialEq for ShakeOffset
Auto Trait Implementations§
impl Freeze for ShakeOffset
impl RefUnwindSafe for ShakeOffset
impl Send for ShakeOffset
impl Sync for ShakeOffset
impl Unpin for ShakeOffset
impl UnsafeUnpin for ShakeOffset
impl UnwindSafe for ShakeOffset
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