[][src]Struct boxcars::Replay

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

The structure that a rocket league replay is parsed into.

Fields

header_size: i32header_crc: u32major_version: i32minor_version: i32net_version: Option<i32>game_type: Stringproperties: Vec<(String, HeaderProp)>

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: u32network_frames: Option<NetworkFrames>levels: Vec<String>keyframes: Vec<KeyFrame>debug_info: Vec<DebugInfo>tick_marks: Vec<TickMark>packages: Vec<String>objects: Vec<String>names: Vec<String>class_indices: Vec<ClassIndex>net_cache: Vec<ClassNetCache>

Trait Implementations

impl Clone for Replay[src]

impl Debug for Replay[src]

impl PartialEq<Replay> for Replay[src]

impl Serialize for Replay[src]

impl StructuralPartialEq for Replay[src]

Auto Trait Implementations

impl RefUnwindSafe for Replay

impl Send for Replay

impl Sync for Replay

impl Unpin for Replay

impl UnwindSafe for Replay

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.