pub struct MovementValues {
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
3-axis measurement values.
Fields§
§x: f32X-axis value
y: f32Y-axis value
z: f32Z-axis value
Implementations§
Trait Implementations§
Source§impl Clone for MovementValues
impl Clone for MovementValues
Source§fn clone(&self) -> MovementValues
fn clone(&self) -> MovementValues
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 MovementValues
impl Debug for MovementValues
Source§impl Default for MovementValues
impl Default for MovementValues
Source§fn default() -> MovementValues
fn default() -> MovementValues
Returns the “default value” for a type. Read more
Source§impl Format for MovementValues
impl Format for MovementValues
Source§impl From<MovementValues> for (f32, f32, f32)
impl From<MovementValues> for (f32, f32, f32)
Source§fn from(v: MovementValues) -> Self
fn from(v: MovementValues) -> Self
Converts to this type from the input type.
impl Copy for MovementValues
Auto Trait Implementations§
impl Freeze for MovementValues
impl RefUnwindSafe for MovementValues
impl Send for MovementValues
impl Sync for MovementValues
impl Unpin for MovementValues
impl UnwindSafe for MovementValues
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