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

The id given to the new actor

An name id

The actor's type. Is an index to to Replay::objects

The initial trajectory of the new actor

Trait Implementations

impl Debug for NewActor
[src]

[src]

Formats the value using the given formatter.

impl Clone for NewActor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for NewActor
[src]

impl PartialEq for NewActor
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for NewActor
[src]