#[repr(u16)]pub enum CastingType {
ConstantEffect = 0,
FireAndForget = 1,
Concentration = 2,
Scroll = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for CastingType
impl Clone for CastingType
Source§fn clone(&self) -> CastingType
fn clone(&self) -> CastingType
Returns a copy 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 CastingType
impl Debug for CastingType
Source§impl From<CastingType> for CastingType_CEnum
impl From<CastingType> for CastingType_CEnum
Source§fn from(value: CastingType) -> Self
fn from(value: CastingType) -> Self
Converts to this type from the input type.
Source§impl Hash for CastingType
impl Hash for CastingType
Source§impl Ord for CastingType
impl Ord for CastingType
Source§fn cmp(&self, other: &CastingType) -> Ordering
fn cmp(&self, other: &CastingType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CastingType
impl PartialEq for CastingType
Source§impl PartialOrd for CastingType
impl PartialOrd for CastingType
Source§impl TryFrom<CastingType_CEnum> for CastingType
impl TryFrom<CastingType_CEnum> for CastingType
impl Copy for CastingType
impl Eq for CastingType
impl StructuralPartialEq for CastingType
Auto Trait Implementations§
impl Freeze for CastingType
impl RefUnwindSafe for CastingType
impl Send for CastingType
impl Sync for CastingType
impl Unpin for CastingType
impl UnwindSafe for CastingType
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