pub struct Acceleration {
pub x: f64,
pub y: f64,
pub z: f64,
}
Expand description
Three-dimensional acceleration in meters per second squared.
Fields§
§x: f64
Acceleration along the X axis.
y: f64
Acceleration along the Y axis.
z: f64
Acceleration along the Z axis.
Trait Implementations§
Source§impl Clone for Acceleration
impl Clone for Acceleration
Source§fn clone(&self) -> Acceleration
fn clone(&self) -> Acceleration
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 Acceleration
impl Debug for Acceleration
Source§impl PartialEq for Acceleration
impl PartialEq for Acceleration
impl Copy for Acceleration
impl StructuralPartialEq for Acceleration
Auto Trait Implementations§
impl Freeze for Acceleration
impl RefUnwindSafe for Acceleration
impl Send for Acceleration
impl Sync for Acceleration
impl Unpin for Acceleration
impl UnwindSafe for Acceleration
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