pub struct AvatarEffectAdded {
pub effect_type: i32,
pub sub_type: i32,
pub duration: i32,
pub is_permanent: bool,
}
Fields§
§effect_type: i32
§sub_type: i32
§duration: i32
§is_permanent: bool
Trait Implementations§
source§impl BaseParser for AvatarEffectAdded
impl BaseParser for AvatarEffectAdded
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 AvatarEffectAdded
impl Clone for AvatarEffectAdded
source§fn clone(&self) -> AvatarEffectAdded
fn clone(&self) -> AvatarEffectAdded
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 AvatarEffectAdded
impl Debug for AvatarEffectAdded
source§impl Default for AvatarEffectAdded
impl Default for AvatarEffectAdded
source§fn default() -> AvatarEffectAdded
fn default() -> AvatarEffectAdded
Returns the “default value” for a type. Read more
source§impl PacketVariable for AvatarEffectAdded
impl PacketVariable for AvatarEffectAdded
source§impl PartialEq<AvatarEffectAdded> for AvatarEffectAdded
impl PartialEq<AvatarEffectAdded> for AvatarEffectAdded
source§fn eq(&self, other: &AvatarEffectAdded) -> bool
fn eq(&self, other: &AvatarEffectAdded) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AvatarEffectAdded
Auto Trait Implementations§
impl RefUnwindSafe for AvatarEffectAdded
impl Send for AvatarEffectAdded
impl Sync for AvatarEffectAdded
impl Unpin for AvatarEffectAdded
impl UnwindSafe for AvatarEffectAdded
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