Struct boxcars::Frame
[−]
[src]
pub struct Frame { pub time: f32, pub delta: f32, pub new_actors: Vec<NewActor>, pub deleted_actors: Vec<i32>, pub updated_actors: Vec<UpdatedAttribute>, }
Contains the time and any new information that occurred during a frame
Fields
time: f32
The time in seconds that the frame is recorded at
delta: f32
Time difference between previous frame
new_actors: Vec<NewActor>
List of new actors seen during the frame
deleted_actors: Vec<i32>
List of actor id's that are deleted / destroyed
updated_actors: Vec<UpdatedAttribute>
List of properties updated on the actors
Trait Implementations
impl Debug for Frame
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Frame
[src]
fn clone(&self) -> Frame
[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