Struct boxcars::NewActor [−][src]
pub struct NewActor {
pub actor_id: ActorId,
pub name_id: Option<i32>,
pub object_id: ObjectId,
pub initial_trajectory: Trajectory,
}
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for NewActor
impl UnwindSafe for NewActor
Blanket Implementations
Mutably borrows from an owned value. Read more