Struct boxcars::Trajectory [−][src]
Expand description
Contains the optional location and rotation of an object when it spawns
Fields
location: Option<Vector3i>
rotation: Option<Rotation>
Implementations
pub fn from_spawn(
bits: &mut LittleEndianReader<'_>,
sp: SpawnTrajectory,
net_version: i32
) -> Option<Trajectory>
pub fn from_spawn_unchecked(
bits: &mut LittleEndianReader<'_>,
sp: SpawnTrajectory,
net_version: i32
) -> Trajectory
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Trajectory
impl Send for Trajectory
impl Sync for Trajectory
impl Unpin for Trajectory
impl UnwindSafe for Trajectory
Blanket Implementations
Mutably borrows from an owned value. Read more