Struct boxcars::Vector
[−]
[src]
pub struct Vector { pub bias: i32, pub dx: i32, pub dy: i32, pub dz: i32, }
An object's current vector
Fields
bias: i32
dx: i32
dy: i32
dz: i32
Methods
impl Vector
[src]
pub fn decode(bits: &mut BitGet) -> Option<Vector>
[src]
pub fn decode_unchecked(bits: &mut BitGet) -> Vector
[src]
Trait Implementations
impl Debug for Vector
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Vector
[src]
fn clone(&self) -> Vector
[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 Copy for Vector
[src]
impl PartialEq for Vector
[src]
fn eq(&self, __arg_0: &Vector) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Vector) -> bool
[src]
This method tests for !=
.