Struct pso2packetlib::protocol::objects::Unk0479Packet
source · pub struct Unk0479Packet {
pub unk1: ObjectHeader,
pub unk2: ObjectHeader,
pub unk3: u32,
}Expand description
(0x04, 0x79) Unknown.
(S -> C)
Fields§
§unk1: ObjectHeader§unk2: ObjectHeader§unk3: u32Trait Implementations§
source§impl Clone for Unk0479Packet
impl Clone for Unk0479Packet
source§fn clone(&self) -> Unk0479Packet
fn clone(&self) -> Unk0479Packet
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 Unk0479Packet
impl Debug for Unk0479Packet
source§impl Default for Unk0479Packet
impl Default for Unk0479Packet
source§fn default() -> Unk0479Packet
fn default() -> Unk0479Packet
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Unk0479Packetwhere
Unk0479Packet: Default,
impl<'de> Deserialize<'de> for Unk0479Packetwhere
Unk0479Packet: Default,
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 PacketReadWrite for Unk0479Packet
impl PacketReadWrite for Unk0479Packet
source§fn read(
reader: &mut (impl Read + Seek),
flags: &Flags,
packet_type: PacketType,
) -> Result<Self, PacketError>
fn read( reader: &mut (impl Read + Seek), flags: &Flags, packet_type: PacketType, ) -> Result<Self, PacketError>
Reads a packet from a stream.
source§fn write(&self, packet_type: PacketType) -> Result<Vec<u8>, PacketError>
fn write(&self, packet_type: PacketType) -> Result<Vec<u8>, PacketError>
Writes a packet to a Vec.
source§impl PartialEq for Unk0479Packet
impl PartialEq for Unk0479Packet
source§fn eq(&self, other: &Unk0479Packet) -> bool
fn eq(&self, other: &Unk0479Packet) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for Unk0479Packet
impl Serialize for Unk0479Packet
impl StructuralPartialEq for Unk0479Packet
Auto Trait Implementations§
impl Freeze for Unk0479Packet
impl RefUnwindSafe for Unk0479Packet
impl Send for Unk0479Packet
impl Sync for Unk0479Packet
impl Unpin for Unk0479Packet
impl UnwindSafe for Unk0479Packet
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)