[][src]Struct boxcars::Replay

pub struct Replay<'a> {
    pub header_size: i32,
    pub header_crc: i32,
    pub major_version: i32,
    pub minor_version: i32,
    pub net_version: Option<i32>,
    pub game_type: Cow<'a, str>,
    pub properties: Vec<(&'a str, HeaderProp<'a>)>,
    pub content_size: i32,
    pub content_crc: i32,
    pub network_frames: Option<NetworkFrames>,
    pub levels: Vec<Cow<'a, str>>,
    pub keyframes: Vec<KeyFrame>,
    pub debug_info: Vec<DebugInfo<'a>>,
    pub tick_marks: Vec<TickMark<'a>>,
    pub packages: Vec<Cow<'a, str>>,
    pub objects: Vec<Cow<'a, str>>,
    pub names: Vec<Cow<'a, str>>,
    pub class_indices: Vec<ClassIndex<'a>>,
    pub net_cache: Vec<ClassNetCache>,
}

The structure that a rocket league replay is parsed into.

Fields

header_size: i32header_crc: i32major_version: i32minor_version: i32net_version: Option<i32>game_type: Cow<'a, str>properties: Vec<(&'a str, HeaderProp<'a>)>

Could use a map to represent properties but I don't want to assume that duplicate keys can't exist, so to be safe, use a traditional vector.

content_size: i32content_crc: i32network_frames: Option<NetworkFrames>levels: Vec<Cow<'a, str>>keyframes: Vec<KeyFrame>debug_info: Vec<DebugInfo<'a>>tick_marks: Vec<TickMark<'a>>packages: Vec<Cow<'a, str>>objects: Vec<Cow<'a, str>>names: Vec<Cow<'a, str>>class_indices: Vec<ClassIndex<'a>>net_cache: Vec<ClassNetCache>

Trait Implementations

impl<'a> PartialEq<Replay<'a>> for Replay<'a>[src]

impl<'a> Clone for Replay<'a>[src]

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

Performs copy-assignment from source. Read more

impl<'a> Debug for Replay<'a>[src]

impl<'a> Serialize for Replay<'a>[src]

Auto Trait Implementations

impl<'a> Send for Replay<'a>

impl<'a> Sync for Replay<'a>

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> BorrowMut for T where
    T: ?Sized
[src]

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