Struct boxcars::NewActor [−][src]
pub struct NewActor { pub actor_id: ActorId, pub name_id: Option<i32>, pub object_id: ObjectId, pub initial_trajectory: Trajectory, }
Information for a new actor that appears in the game
Fields
actor_id: ActorId
The id given to the new actor
name_id: Option<i32>
An name id
object_id: ObjectId
The actor's object id.
initial_trajectory: Trajectory
The initial trajectory of the new actor
Trait Implementations
impl Debug for NewActor
[src]
impl Debug for NewActor
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 NewActor
[src]
impl Clone for NewActor
fn clone(&self) -> NewActor
[src]
fn clone(&self) -> NewActor
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 NewActor
[src]
impl Copy for NewActor
impl PartialEq for NewActor
[src]
impl PartialEq for NewActor
fn eq(&self, other: &NewActor) -> bool
[src]
fn eq(&self, other: &NewActor) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NewActor) -> bool
[src]
fn ne(&self, other: &NewActor) -> bool
This method tests for !=
.
impl Eq for NewActor
[src]
impl Eq for NewActor