Struct tf_demo_parser::demo::message::generated::EntityMessage
source · 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§
source§impl<'a> BitRead<'a, LittleEndian> for EntityMessage<'a>
impl<'a> BitRead<'a, LittleEndian> for EntityMessage<'a>
source§impl<'a> BitWrite<LittleEndian> for EntityMessage<'a>
impl<'a> BitWrite<LittleEndian> for EntityMessage<'a>
source§fn write(
&self,
__target__stream: &mut BitWriteStream<'_, LittleEndian>
) -> Result<()>
fn write( &self, __target__stream: &mut BitWriteStream<'_, LittleEndian> ) -> Result<()>
Write the type to stream
source§impl<'a> Clone for EntityMessage<'a>
impl<'a> Clone for EntityMessage<'a>
source§fn clone(&self) -> EntityMessage<'a>
fn clone(&self) -> EntityMessage<'a>
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<'a> Debug for EntityMessage<'a>
impl<'a> Debug for EntityMessage<'a>
source§impl<'de, 'a> Deserialize<'de> for EntityMessage<'a>where
'a: 'static,
impl<'de, 'a> Deserialize<'de> for EntityMessage<'a>where
'a: 'static,
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<'a> PartialEq for EntityMessage<'a>
impl<'a> PartialEq for EntityMessage<'a>
source§fn eq(&self, other: &EntityMessage<'a>) -> bool
fn eq(&self, other: &EntityMessage<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a> Serialize for EntityMessage<'a>
impl<'a> Serialize for EntityMessage<'a>
impl<'a> StructuralPartialEq for EntityMessage<'a>
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§
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