#[repr(u32)]pub enum CannotCastReason {
OK = 0,
Magicka = 1,
PowerUsed = 2,
RangedUnderWater = 3,
MultipleCast = 4,
ItemCharge = 5,
CastWhileShouting = 6,
ShoutWhileCasting = 7,
ShoutWhileRecovering = 8,
CustomReasonNoStart = 100,
}
Variants§
OK = 0
Magicka = 1
PowerUsed = 2
RangedUnderWater = 3
MultipleCast = 4
ItemCharge = 5
CastWhileShouting = 6
ShoutWhileCasting = 7
ShoutWhileRecovering = 8
CustomReasonNoStart = 100
Trait Implementations§
Source§impl Clone for CannotCastReason
impl Clone for CannotCastReason
Source§fn clone(&self) -> CannotCastReason
fn clone(&self) -> CannotCastReason
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 CannotCastReason
impl Debug for CannotCastReason
Source§impl From<CannotCastReason> for CannotCastReason_CEnum
impl From<CannotCastReason> for CannotCastReason_CEnum
Source§fn from(value: CannotCastReason) -> Self
fn from(value: CannotCastReason) -> Self
Converts to this type from the input type.
Source§impl Hash for CannotCastReason
impl Hash for CannotCastReason
Source§impl Ord for CannotCastReason
impl Ord for CannotCastReason
Source§fn cmp(&self, other: &CannotCastReason) -> Ordering
fn cmp(&self, other: &CannotCastReason) -> 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 CannotCastReason
impl PartialEq for CannotCastReason
Source§impl PartialOrd for CannotCastReason
impl PartialOrd for CannotCastReason
impl Copy for CannotCastReason
impl Eq for CannotCastReason
impl StructuralPartialEq for CannotCastReason
Auto Trait Implementations§
impl Freeze for CannotCastReason
impl RefUnwindSafe for CannotCastReason
impl Send for CannotCastReason
impl Sync for CannotCastReason
impl Unpin for CannotCastReason
impl UnwindSafe for CannotCastReason
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