Struct tf_demo_parser::demo::message::generated::EntityMessage [−][src]
pub struct EntityMessage<'a> { pub index: u16, pub class_id: u16, pub length: u16, pub data: Stream<'a>, }
Fields
index: u16
class_id: u16
length: u16
data: Stream<'a>
Trait Implementations
Read the type from stream
unsafe fn read_unchecked(
stream: &mut BitReadStream<'a, LittleEndian>,
end: bool
) -> Result<Self>
The number of bits that will be read or None if the number of bits will change depending on the bit stream Read more
Write the type to stream
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for EntityMessage<'a>
impl<'a> !Send for EntityMessage<'a>
impl<'a> !Sync for EntityMessage<'a>
impl<'a> Unpin for EntityMessage<'a>
impl<'a> UnwindSafe for EntityMessage<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more