[][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 Clone for Frame[src]

impl Debug for Frame[src]

impl PartialEq<Frame> for Frame[src]

impl Serialize for Frame[src]

impl StructuralPartialEq for Frame[src]

Auto Trait Implementations

impl RefUnwindSafe for Frame

impl Send for Frame

impl Sync for Frame

impl Unpin for Frame

impl UnwindSafe for Frame

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.