Struct rfmod::Vector [] [src]

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

Structure describing a point in 3D space.

Fields

x: f32

X co-ordinate in 3D space.

y: f32

Y co-ordinate in 3D space.

z: f32

Z co-ordinate in 3D space.

Methods

impl Vector
[src]

fn new() -> Vector

Trait Implementations

impl Copy for Vector
[src]

impl Clone for Vector
[src]

fn clone(&self) -> Vector

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Vector
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for Vector
[src]

fn default() -> Vector

Returns the "default value" for a type. Read more

impl PartialEq for Vector
[src]

fn eq(&self, other: &Vector) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Vector) -> bool

This method tests for !=.