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