Struct boxcars::Vector [−][src]
An object's current vector
Fields
bias: i32
dx: i32
dy: i32
dz: i32
Methods
impl Vector
[src]
impl Vector
pub fn decode(bits: &mut BitGet, net_version: i32) -> Option<Vector>
[src]
pub fn decode(bits: &mut BitGet, net_version: i32) -> Option<Vector>
pub fn decode_unchecked(bits: &mut BitGet, net_version: i32) -> Vector
[src]
pub fn decode_unchecked(bits: &mut BitGet, net_version: i32) -> Vector
Trait Implementations
impl Debug for Vector
[src]
impl Debug for Vector
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Vector
[src]
impl Clone for Vector
fn clone(&self) -> Vector
[src]
fn clone(&self) -> Vector
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Vector
[src]
impl Copy for Vector
impl PartialEq for Vector
[src]
impl PartialEq for Vector
fn eq(&self, other: &Vector) -> bool
[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
[src]
fn ne(&self, other: &Vector) -> bool
This method tests for !=
.
impl Eq for Vector
[src]
impl Eq for Vector