pub struct PetCommands {
pub pet_id: LegacyId,
pub all_commands: Vec<i32>,
pub enabled_commands: Vec<i32>,
}
Fields§
§pet_id: LegacyId
§all_commands: Vec<i32>
§enabled_commands: Vec<i32>
Trait Implementations§
Source§impl BaseParser for PetCommands
impl BaseParser for PetCommands
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 PetCommands
impl Clone for PetCommands
Source§fn clone(&self) -> PetCommands
fn clone(&self) -> PetCommands
Returns a duplicate 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 PetCommands
impl Debug for PetCommands
Source§impl Default for PetCommands
impl Default for PetCommands
Source§fn default() -> PetCommands
fn default() -> PetCommands
Returns the “default value” for a type. Read more
Source§impl PacketVariable for PetCommands
impl PacketVariable for PetCommands
Source§impl PartialEq for PetCommands
impl PartialEq for PetCommands
impl StructuralPartialEq for PetCommands
Auto Trait Implementations§
impl Freeze for PetCommands
impl RefUnwindSafe for PetCommands
impl Send for PetCommands
impl Sync for PetCommands
impl Unpin for PetCommands
impl UnwindSafe for PetCommands
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