pub struct RecoverPlayerServerPacket {
pub hp: i32,
pub tp: i32,
}
Expand description
HP/TP update
Fields§
§hp: i32
§tp: i32
Implementations§
Trait Implementations§
Source§impl Clone for RecoverPlayerServerPacket
impl Clone for RecoverPlayerServerPacket
Source§fn clone(&self) -> RecoverPlayerServerPacket
fn clone(&self) -> RecoverPlayerServerPacket
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 RecoverPlayerServerPacket
impl Debug for RecoverPlayerServerPacket
Source§impl Default for RecoverPlayerServerPacket
impl Default for RecoverPlayerServerPacket
Source§fn default() -> RecoverPlayerServerPacket
fn default() -> RecoverPlayerServerPacket
Returns the “default value” for a type. Read more
Source§impl EoSerialize for RecoverPlayerServerPacket
impl EoSerialize for RecoverPlayerServerPacket
Source§fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
Serializes a RecoverPlayerServerPacket into the given EoWriter instance
Source§fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
Deserializes a RecoverPlayerServerPacket from an EoReader instance
impl Eq for RecoverPlayerServerPacket
impl StructuralPartialEq for RecoverPlayerServerPacket
Auto Trait Implementations§
impl Freeze for RecoverPlayerServerPacket
impl RefUnwindSafe for RecoverPlayerServerPacket
impl Send for RecoverPlayerServerPacket
impl Sync for RecoverPlayerServerPacket
impl Unpin for RecoverPlayerServerPacket
impl UnwindSafe for RecoverPlayerServerPacket
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