pub struct EffectSpecServerPacketMapDamageTypeDataTpDrain {
pub tp_damage: i32,
pub tp: i32,
pub max_tp: i32,
}Fields§
§tp_damage: i32§tp: i32§max_tp: i32Implementations§
Trait Implementations§
Source§impl Clone for EffectSpecServerPacketMapDamageTypeDataTpDrain
impl Clone for EffectSpecServerPacketMapDamageTypeDataTpDrain
Source§fn clone(&self) -> EffectSpecServerPacketMapDamageTypeDataTpDrain
fn clone(&self) -> EffectSpecServerPacketMapDamageTypeDataTpDrain
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 Default for EffectSpecServerPacketMapDamageTypeDataTpDrain
impl Default for EffectSpecServerPacketMapDamageTypeDataTpDrain
Source§fn default() -> EffectSpecServerPacketMapDamageTypeDataTpDrain
fn default() -> EffectSpecServerPacketMapDamageTypeDataTpDrain
Returns the “default value” for a type. Read more
Source§impl EoSerialize for EffectSpecServerPacketMapDamageTypeDataTpDrain
impl EoSerialize for EffectSpecServerPacketMapDamageTypeDataTpDrain
Source§fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
Serializes a EffectSpecServerPacketMapDamageTypeDataTpDrain into the given EoWriter instance
Source§fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
Deserializes a EffectSpecServerPacketMapDamageTypeDataTpDrain from an EoReader instance
Source§impl PartialEq for EffectSpecServerPacketMapDamageTypeDataTpDrain
impl PartialEq for EffectSpecServerPacketMapDamageTypeDataTpDrain
Source§fn eq(&self, other: &EffectSpecServerPacketMapDamageTypeDataTpDrain) -> bool
fn eq(&self, other: &EffectSpecServerPacketMapDamageTypeDataTpDrain) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for EffectSpecServerPacketMapDamageTypeDataTpDrain
impl StructuralPartialEq for EffectSpecServerPacketMapDamageTypeDataTpDrain
Auto Trait Implementations§
impl Freeze for EffectSpecServerPacketMapDamageTypeDataTpDrain
impl RefUnwindSafe for EffectSpecServerPacketMapDamageTypeDataTpDrain
impl Send for EffectSpecServerPacketMapDamageTypeDataTpDrain
impl Sync for EffectSpecServerPacketMapDamageTypeDataTpDrain
impl Unpin for EffectSpecServerPacketMapDamageTypeDataTpDrain
impl UnwindSafe for EffectSpecServerPacketMapDamageTypeDataTpDrain
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