#[repr(C)]pub struct ItemSlot {
pub ready_at: f64,
pub cooldown_end: f64,
pub duration: f64,
pub cast_time: f64,
pub is_item: i32,
pub has_use_buff: i32,
pub has_cooldown: i32,
_padding: i32,
}Fields§
§ready_at: f64§cooldown_end: f64§duration: f64§cast_time: f64§is_item: i32§has_use_buff: i32§has_cooldown: i32§_padding: i32Implementations§
Source§impl ItemSlot
impl ItemSlot
pub const SIZE: usize
pub const OFF_READY_AT: usize
pub const OFF_COOLDOWN_END: usize
pub const OFF_DURATION: usize
pub const OFF_CAST_TIME: usize
pub const OFF_IS_ITEM: usize
pub const OFF_HAS_USE_BUFF: usize
pub const OFF_HAS_COOLDOWN: usize
const OFF__PADDING: 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§
impl Copy for ItemSlot
impl Pod for ItemSlot
Auto Trait Implementations§
impl Freeze for ItemSlot
impl RefUnwindSafe for ItemSlot
impl Send for ItemSlot
impl Sync for ItemSlot
impl Unpin for ItemSlot
impl UnsafeUnpin for ItemSlot
impl UnwindSafe for ItemSlot
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