[][src]Struct boxcars::KeyFrame

pub struct KeyFrame {
    pub time: f32,
    pub frame: i32,
    pub position: i32,
}

Keyframes as defined by the video compression section in the wikipedia article, are the main frames that are derived from in the following frame data. The key frames decoded will match up with the frames decoded from the network data.

Fields

time: f32frame: i32position: i32

Trait Implementations

impl Clone for KeyFrame[src]

impl Copy for KeyFrame[src]

impl Debug for KeyFrame[src]

impl PartialEq<KeyFrame> for KeyFrame[src]

impl Serialize for KeyFrame[src]

impl StructuralPartialEq for KeyFrame[src]

Auto Trait Implementations

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.