pub struct CooldownCategoryId(i32);Expand description
Identity of a row in DBC SpellCategory.
This is deliberately an open newtype: newly-added category IDs remain valid. pool keys without requiring an engine release to extend a closed enum.
Tuple Fields§
§0: i32Implementations§
Trait Implementations§
Source§impl Clone for CooldownCategoryId
impl Clone for CooldownCategoryId
Source§fn clone(&self) -> CooldownCategoryId
fn clone(&self) -> CooldownCategoryId
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 CooldownCategoryId
impl Debug for CooldownCategoryId
Source§impl<'de> Deserialize<'de> for CooldownCategoryId
impl<'de> Deserialize<'de> for CooldownCategoryId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CooldownCategoryId
impl Hash for CooldownCategoryId
Source§impl PartialEq for CooldownCategoryId
impl PartialEq for CooldownCategoryId
Source§impl Serialize for CooldownCategoryId
impl Serialize for CooldownCategoryId
impl Copy for CooldownCategoryId
impl Eq for CooldownCategoryId
impl StructuralPartialEq for CooldownCategoryId
Auto Trait Implementations§
impl Freeze for CooldownCategoryId
impl RefUnwindSafe for CooldownCategoryId
impl Send for CooldownCategoryId
impl Sync for CooldownCategoryId
impl Unpin for CooldownCategoryId
impl UnsafeUnpin for CooldownCategoryId
impl UnwindSafe for CooldownCategoryId
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