pub struct YouAreSpectator {
pub flat_id: LegacyId,
}
Fields§
§flat_id: LegacyId
Trait Implementations§
source§impl BaseParser for YouAreSpectator
impl BaseParser for YouAreSpectator
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for YouAreSpectator
impl Clone for YouAreSpectator
source§fn clone(&self) -> YouAreSpectator
fn clone(&self) -> YouAreSpectator
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 YouAreSpectator
impl Debug for YouAreSpectator
source§impl Default for YouAreSpectator
impl Default for YouAreSpectator
source§fn default() -> YouAreSpectator
fn default() -> YouAreSpectator
Returns the “default value” for a type. Read more
source§impl PacketVariable for YouAreSpectator
impl PacketVariable for YouAreSpectator
source§impl PartialEq<YouAreSpectator> for YouAreSpectator
impl PartialEq<YouAreSpectator> for YouAreSpectator
source§fn eq(&self, other: &YouAreSpectator) -> bool
fn eq(&self, other: &YouAreSpectator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for YouAreSpectator
Auto Trait Implementations§
impl RefUnwindSafe for YouAreSpectator
impl Send for YouAreSpectator
impl Sync for YouAreSpectator
impl Unpin for YouAreSpectator
impl UnwindSafe for YouAreSpectator
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