pub struct DemoFile {
pub path: PathBuf,
pub header: DemoHeader,
pub frames: Vec<Frame>,
pub sign_on_frames: Vec<Frame>,
pub last_index_error: Option<String>,
}
Fields§
§path: PathBuf
§header: DemoHeader
§frames: Vec<Frame>
§sign_on_frames: Vec<Frame>
§last_index_error: Option<String>
Implementations§
Source§impl DemoFile
impl DemoFile
pub fn open(filepath: &PathBuf) -> Result<Self, String>
pub fn get_data_tables(&self) -> Vec<&DataTablesData>
pub fn get_server_info(&self) -> Option<&ServerInfoData>
pub fn get_game_event_list(&self) -> Option<&GameEventListData>
pub fn get_full_game_events(&self) -> Vec<FullGameEvent>
pub fn get_user_messages(&self) -> Vec<ParsedUserMessage>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DemoFile
impl RefUnwindSafe for DemoFile
impl Send for DemoFile
impl Sync for DemoFile
impl Unpin for DemoFile
impl UnwindSafe for DemoFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more