[][src]Struct boxcars::Frame

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

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<ActorId>

List of actor id's that are deleted / destroyed

updated_actors: Vec<UpdatedAttribute>

List of properties updated on the actors

Trait Implementations

impl PartialEq<Frame> for Frame[src]

impl Clone for Frame[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Frame[src]

impl Serialize for Frame[src]

Auto Trait Implementations

impl Send for Frame

impl Sync for Frame

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]