Struct tf_demo_parser::demo::parser::gamestateanalyser::Player [−][src]
pub struct Player {
pub position: Vector,
pub health: u16,
pub max_health: u16,
pub class: Class,
pub team: Team,
pub view_angle: f32,
pub state: PlayerState,
// some fields omitted
}Fields
position: Vectorhealth: u16max_health: u16class: Classteam: Teamview_angle: f32state: PlayerStateTrait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Playerimpl UnwindSafe for PlayerBlanket Implementations
Mutably borrows from an owned value. Read more
type Err = Infallible