Struct i2csensors::Vec3
[−]
[src]
pub struct Vec3 { pub x: f32, pub y: f32, pub z: f32, }
Fields
x: f32
y: f32
z: f32
Methods
impl Vec3
[src]
Trait Implementations
impl Debug for Vec3
[src]
impl Copy for Vec3
[src]
impl Clone for Vec3
[src]
fn clone(&self) -> Vec3
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Add for Vec3
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Vec3) -> Self
[src]
Performs the +
operation.
impl Sub for Vec3
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Vec3) -> Self
[src]
Performs the -
operation.
impl Mul<f32> for Vec3
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: f32) -> Self
[src]
Performs the *
operation.