Struct boxcars::NewActor
[−]
[src]
pub struct NewActor { pub actor_id: i32, pub name_id: Option<i32>, pub object_ind: i32, pub initial_trajectory: Trajectory, }
Information for a new actor that appears in the game
Fields
actor_id: i32
The id given to the new actor
name_id: Option<i32>
An name id
object_ind: i32
The actor's type. Is an index to to Replay::objects
initial_trajectory: Trajectory
The initial trajectory of the new actor
Trait Implementations
impl Debug for NewActor
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for NewActor
[src]
fn clone(&self) -> NewActor
[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 NewActor
[src]
impl PartialEq for NewActor
[src]
fn eq(&self, __arg_0: &NewActor) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NewActor) -> bool
[src]
This method tests for !=
.