Struct boxcars::Trajectory
[−]
[src]
pub struct Trajectory { pub location: Option<Vector>, pub rotation: Option<Rotation>, }
Contains the optional location and rotation of an object when it spawns
Fields
location: Option<Vector>
rotation: Option<Rotation>
Methods
impl Trajectory
[src]
pub fn from_spawn(bits: &mut BitGet, sp: SpawnTrajectory) -> Option<Trajectory>
[src]
pub fn from_spawn_unchecked(
bits: &mut BitGet,
sp: SpawnTrajectory
) -> Trajectory
[src]
bits: &mut BitGet,
sp: SpawnTrajectory
) -> Trajectory
Trait Implementations
impl Debug for Trajectory
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Trajectory
[src]
fn clone(&self) -> Trajectory
[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 Trajectory
[src]
impl PartialEq for Trajectory
[src]
fn eq(&self, __arg_0: &Trajectory) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Trajectory) -> bool
[src]
This method tests for !=
.