Struct boxcars::Rotation
[−]
[src]
pub struct Rotation { pub yaw: Option<i8>, pub pitch: Option<i8>, pub roll: Option<i8>, }
An object's current rotation
Fields
yaw: Option<i8>
pitch: Option<i8>
roll: Option<i8>
Methods
impl Rotation
[src]
fn decode(bits: &mut BitGet) -> Option<Rotation>
[src]
fn decode_unchecked(bits: &mut BitGet) -> Rotation
[src]
Trait Implementations
impl Debug for Rotation
[src]
impl Clone for Rotation
[src]
fn clone(&self) -> Rotation
[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 Rotation
[src]
impl PartialEq for Rotation
[src]
fn eq(&self, __arg_0: &Rotation) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Rotation) -> bool
[src]
This method tests for !=
.