Struct tf_demo_parser::demo::gameevent_gen::PlayerBuybackEvent
source · pub struct PlayerBuybackEvent {
pub player: u16,
pub cost: u16,
}
Fields§
§player: u16
§cost: u16
Trait Implementations§
source§impl<_E: Endianness> BitWrite<_E> for PlayerBuybackEvent
impl<_E: Endianness> BitWrite<_E> for PlayerBuybackEvent
source§impl Clone for PlayerBuybackEvent
impl Clone for PlayerBuybackEvent
source§fn clone(&self) -> PlayerBuybackEvent
fn clone(&self) -> PlayerBuybackEvent
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 PlayerBuybackEvent
impl Debug for PlayerBuybackEvent
source§impl<'de> Deserialize<'de> for PlayerBuybackEvent
impl<'de> Deserialize<'de> for PlayerBuybackEvent
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 PartialEq for PlayerBuybackEvent
impl PartialEq for PlayerBuybackEvent
source§fn eq(&self, other: &PlayerBuybackEvent) -> bool
fn eq(&self, other: &PlayerBuybackEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PlayerBuybackEvent
impl Serialize for PlayerBuybackEvent
impl StructuralPartialEq for PlayerBuybackEvent
Auto Trait Implementations§
impl Freeze for PlayerBuybackEvent
impl RefUnwindSafe for PlayerBuybackEvent
impl Send for PlayerBuybackEvent
impl Sync for PlayerBuybackEvent
impl Unpin for PlayerBuybackEvent
impl UnwindSafe for PlayerBuybackEvent
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