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