Struct i2csensors::Vec3 [] [src]

pub struct Vec3 {
    pub x: f32,
    pub y: f32,
    pub z: f32,
}

Fields

Methods

impl Vec3
[src]

[src]

Trait Implementations

impl Debug for Vec3
[src]

[src]

Formats the value using the given formatter.

impl Copy for Vec3
[src]

impl Clone for Vec3
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Add for Vec3
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Sub for Vec3
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Mul<f32> for Vec3
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Div<f32> for Vec3
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.