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