#[repr(C)]pub struct PlayerSlot {Show 23 fields
pub gcd_end: f64,
pub cast_end: f64,
pub channel_end: f64,
pub haste: f64,
pub crit: f64,
pub mastery: f64,
pub versatility: f64,
pub attack_power: f64,
pub spell_power: f64,
pub level: i32,
pub is_moving: i32,
pub is_alive: i32,
pub in_combat: i32,
pub stealthed: i32,
pub shapeshift_form: i32,
pub mounted: i32,
_padding: i32,
pub movement_end: f64,
pub stamina: f64,
pub armor: f64,
pub primary_stat: f64,
pub gcd_duration: f64,
pub gcd_max: f64,
}Fields§
§gcd_end: f64§cast_end: f64§channel_end: f64§haste: f64§crit: f64§mastery: f64§versatility: f64§attack_power: f64§spell_power: f64§level: i32§is_moving: i32§is_alive: i32§in_combat: i32§stealthed: i32§shapeshift_form: i32§mounted: i32§_padding: i32§movement_end: f64§stamina: f64§armor: f64§primary_stat: f64§gcd_duration: f64§gcd_max: f64Implementations§
Source§impl PlayerSlot
impl PlayerSlot
Source§impl PlayerSlot
impl PlayerSlot
pub const SIZE: usize
pub const OFF_GCD_END: usize
pub const OFF_CAST_END: usize
pub const OFF_CHANNEL_END: usize
pub const OFF_HASTE: usize
pub const OFF_CRIT: usize
pub const OFF_MASTERY: usize
pub const OFF_VERSATILITY: usize
pub const OFF_ATTACK_POWER: usize
pub const OFF_SPELL_POWER: usize
pub const OFF_LEVEL: usize
pub const OFF_IS_MOVING: usize
pub const OFF_IS_ALIVE: usize
pub const OFF_IN_COMBAT: usize
pub const OFF_STEALTHED: usize
pub const OFF_SHAPESHIFT_FORM: usize
pub const OFF_MOUNTED: usize
const OFF__PADDING: usize
pub const OFF_MOVEMENT_END: usize
pub const OFF_STAMINA: usize
pub const OFF_ARMOR: usize
pub const OFF_PRIMARY_STAT: usize
pub const OFF_GCD_DURATION: usize
pub const OFF_GCD_MAX: usize
Sourcepub fn dump_fields(&self, out: &mut String)
pub fn dump_fields(&self, out: &mut String)
Append human-readable field name/value pairs to the output string.
Trait Implementations§
Source§impl Clone for PlayerSlot
impl Clone for PlayerSlot
Source§fn clone(&self) -> PlayerSlot
fn clone(&self) -> PlayerSlot
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 Debug for PlayerSlot
impl Debug for PlayerSlot
Source§impl Default for PlayerSlot
impl Default for PlayerSlot
Source§fn default() -> PlayerSlot
fn default() -> PlayerSlot
Returns the “default value” for a type. Read more
impl Copy for PlayerSlot
impl Pod for PlayerSlot
Auto Trait Implementations§
impl Freeze for PlayerSlot
impl RefUnwindSafe for PlayerSlot
impl Send for PlayerSlot
impl Sync for PlayerSlot
impl Unpin for PlayerSlot
impl UnsafeUnpin for PlayerSlot
impl UnwindSafe for PlayerSlot
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more