Struct boxcars::Frame[][src]

pub struct Frame {
    pub time: f32,
    pub delta: f32,
    pub new_actors: Vec<NewActor>,
    pub deleted_actors: Vec<ActorId>,
    pub updated_actors: Vec<UpdatedAttribute>,
}

Contains the time and any new information that occurred during a frame

Fields

The time in seconds that the frame is recorded at

Time difference between previous frame

List of new actors seen during the frame

List of actor id's that are deleted / destroyed

List of properties updated on the actors

Trait Implementations

impl Debug for Frame
[src]

Formats the value using the given formatter. Read more

impl Clone for Frame
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Frame
[src]

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 Send for Frame

impl Sync for Frame