#[repr(C)]pub struct WeaponImbueSlot {
pub is_active: i32,
pub is_inactive: i32,
}Fields§
§is_active: i32§is_inactive: i32Implementations§
Source§impl WeaponImbueSlot
impl WeaponImbueSlot
pub const SIZE: usize
pub const OFF_IS_ACTIVE: usize
pub const OFF_IS_INACTIVE: 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 WeaponImbueSlot
impl Clone for WeaponImbueSlot
Source§fn clone(&self) -> WeaponImbueSlot
fn clone(&self) -> WeaponImbueSlot
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 WeaponImbueSlot
impl Debug for WeaponImbueSlot
Source§impl Default for WeaponImbueSlot
impl Default for WeaponImbueSlot
Source§fn default() -> WeaponImbueSlot
fn default() -> WeaponImbueSlot
Returns the “default value” for a type. Read more
impl Copy for WeaponImbueSlot
impl Pod for WeaponImbueSlot
Auto Trait Implementations§
impl Freeze for WeaponImbueSlot
impl RefUnwindSafe for WeaponImbueSlot
impl Send for WeaponImbueSlot
impl Sync for WeaponImbueSlot
impl Unpin for WeaponImbueSlot
impl UnsafeUnpin for WeaponImbueSlot
impl UnwindSafe for WeaponImbueSlot
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