Struct tf_demo_parser::demo::gamevent::GameEventDefinition
source · pub struct GameEventDefinition {
pub id: GameEventTypeId,
pub event_type: GameEventType,
pub entries: Vec<GameEventEntry>,
}Fields§
§id: GameEventTypeId§event_type: GameEventType§entries: Vec<GameEventEntry>Trait Implementations§
source§impl BitRead<'_, LittleEndian> for GameEventDefinition
impl BitRead<'_, LittleEndian> for GameEventDefinition
source§fn read(stream: &mut Stream<'_>) -> ReadResult<Self>
fn read(stream: &mut Stream<'_>) -> ReadResult<Self>
Read the type from stream
source§impl BitWrite<LittleEndian> for GameEventDefinition
impl BitWrite<LittleEndian> for GameEventDefinition
source§fn write(&self, stream: &mut BitWriteStream<'_, LittleEndian>) -> ReadResult<()>
fn write(&self, stream: &mut BitWriteStream<'_, LittleEndian>) -> ReadResult<()>
Write the type to stream
source§impl Clone for GameEventDefinition
impl Clone for GameEventDefinition
source§fn clone(&self) -> GameEventDefinition
fn clone(&self) -> GameEventDefinition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GameEventDefinition
impl Debug for GameEventDefinition
source§impl<'de> Deserialize<'de> for GameEventDefinition
impl<'de> Deserialize<'de> for GameEventDefinition
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for GameEventDefinition
impl Ord for GameEventDefinition
source§impl PartialEq for GameEventDefinition
impl PartialEq for GameEventDefinition
source§impl PartialOrd for GameEventDefinition
impl PartialOrd for GameEventDefinition
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for GameEventDefinition
impl Serialize for GameEventDefinition
impl Eq for GameEventDefinition
Auto Trait Implementations§
impl RefUnwindSafe for GameEventDefinition
impl Send for GameEventDefinition
impl Sync for GameEventDefinition
impl Unpin for GameEventDefinition
impl UnwindSafe for GameEventDefinition
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