pub struct CreatureSpellDataKey {
pub id: u32,
}Available on crate feature
vanilla only.Fields
id: u32Implementations
Trait Implementations
sourceimpl Clone for CreatureSpellDataKey
impl Clone for CreatureSpellDataKey
sourcefn clone(&self) -> CreatureSpellDataKey
fn clone(&self) -> CreatureSpellDataKey
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CreatureSpellDataKey
impl Debug for CreatureSpellDataKey
sourceimpl Default for CreatureSpellDataKey
impl Default for CreatureSpellDataKey
sourcefn default() -> CreatureSpellDataKey
fn default() -> CreatureSpellDataKey
Returns the “default value” for a type. Read more
sourceimpl From<u16> for CreatureSpellDataKey
impl From<u16> for CreatureSpellDataKey
sourceimpl From<u32> for CreatureSpellDataKey
impl From<u32> for CreatureSpellDataKey
sourceimpl From<u8> for CreatureSpellDataKey
impl From<u8> for CreatureSpellDataKey
sourceimpl Hash for CreatureSpellDataKey
impl Hash for CreatureSpellDataKey
sourceimpl Ord for CreatureSpellDataKey
impl Ord for CreatureSpellDataKey
sourcefn cmp(&self, other: &CreatureSpellDataKey) -> Ordering
fn cmp(&self, other: &CreatureSpellDataKey) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<CreatureSpellDataKey> for CreatureSpellDataKey
impl PartialEq<CreatureSpellDataKey> for CreatureSpellDataKey
sourcefn eq(&self, other: &CreatureSpellDataKey) -> bool
fn eq(&self, other: &CreatureSpellDataKey) -> bool
sourceimpl PartialOrd<CreatureSpellDataKey> for CreatureSpellDataKey
impl PartialOrd<CreatureSpellDataKey> for CreatureSpellDataKey
sourcefn partial_cmp(&self, other: &CreatureSpellDataKey) -> Option<Ordering>
fn partial_cmp(&self, other: &CreatureSpellDataKey) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for CreatureSpellDataKey
impl Eq for CreatureSpellDataKey
impl StructuralEq for CreatureSpellDataKey
impl StructuralPartialEq for CreatureSpellDataKey
Auto Trait Implementations
impl RefUnwindSafe for CreatureSpellDataKey
impl Send for CreatureSpellDataKey
impl Sync for CreatureSpellDataKey
impl Unpin for CreatureSpellDataKey
impl UnwindSafe for CreatureSpellDataKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more