Struct openal::Vector
[−]
[src]
#[repr(C)]pub struct Vector { pub x: f32, pub y: f32, pub z: f32, }
A 3D vector.
Fields
x: f32
The x.
y: f32
The y.
z: f32
The z.
Trait Implementations
impl PartialEq for Vector
[src]
fn eq(&self, __arg_0: &Vector) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Vector) -> bool
This method tests for !=
.
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