pub struct BarberOpenClientPacket {
pub npc_index: i32,
}Expand description
Talking to a barber NPC
Fields§
§npc_index: i32Implementations§
Trait Implementations§
source§impl Debug for BarberOpenClientPacket
impl Debug for BarberOpenClientPacket
source§impl Default for BarberOpenClientPacket
impl Default for BarberOpenClientPacket
source§fn default() -> BarberOpenClientPacket
fn default() -> BarberOpenClientPacket
Returns the “default value” for a type. Read more
source§impl EoSerialize for BarberOpenClientPacket
impl EoSerialize for BarberOpenClientPacket
source§fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
Serializes a BarberOpenClientPacket into the given EoWriter instance
source§fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
Deserializes a BarberOpenClientPacket from an EoReader instance
source§impl PartialEq for BarberOpenClientPacket
impl PartialEq for BarberOpenClientPacket
source§fn eq(&self, other: &BarberOpenClientPacket) -> bool
fn eq(&self, other: &BarberOpenClientPacket) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for BarberOpenClientPacket
impl StructuralEq for BarberOpenClientPacket
impl StructuralPartialEq for BarberOpenClientPacket
Auto Trait Implementations§
impl RefUnwindSafe for BarberOpenClientPacket
impl Send for BarberOpenClientPacket
impl Sync for BarberOpenClientPacket
impl Unpin for BarberOpenClientPacket
impl UnwindSafe for BarberOpenClientPacket
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