pub struct Context { /* private fields */ }Expand description
Current replay state.
Implementations§
Source§impl Context
impl Context
pub fn classes(&self) -> &Classes
pub fn entities(&self) -> &Entities
pub fn string_tables(&self) -> &StringTables
pub fn game_events(&self) -> &GameEventList
pub fn tick(&self) -> u32
pub fn net_tick(&self) -> u32
pub fn game_build(&self) -> u32
pub fn replay_info(&self) -> &CDemoFileInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Context
impl !RefUnwindSafe for Context
impl !Send for Context
impl !Sync for Context
impl Unpin for Context
impl !UnwindSafe for Context
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more