#[repr(u32)]pub enum CRIME_TYPE {
Steal = 0,
Pickpocket = 1,
Trespass = 2,
Attack = 3,
Murder = 4,
Escape = 5,
Unused = 6,
}
Variants§
Trait Implementations§
Source§impl Clone for CRIME_TYPE
impl Clone for CRIME_TYPE
Source§fn clone(&self) -> CRIME_TYPE
fn clone(&self) -> CRIME_TYPE
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 CRIME_TYPE
impl Debug for CRIME_TYPE
Source§impl From<CRIME_TYPE> for CRIME_TYPE_CEnum
impl From<CRIME_TYPE> for CRIME_TYPE_CEnum
Source§fn from(value: CRIME_TYPE) -> Self
fn from(value: CRIME_TYPE) -> Self
Converts to this type from the input type.
Source§impl Hash for CRIME_TYPE
impl Hash for CRIME_TYPE
Source§impl Ord for CRIME_TYPE
impl Ord for CRIME_TYPE
Source§fn cmp(&self, other: &CRIME_TYPE) -> Ordering
fn cmp(&self, other: &CRIME_TYPE) -> 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 CRIME_TYPE
impl PartialEq for CRIME_TYPE
Source§impl PartialOrd for CRIME_TYPE
impl PartialOrd for CRIME_TYPE
Source§impl TryFrom<CRIME_TYPE_CEnum> for CRIME_TYPE
impl TryFrom<CRIME_TYPE_CEnum> for CRIME_TYPE
impl Copy for CRIME_TYPE
impl Eq for CRIME_TYPE
impl StructuralPartialEq for CRIME_TYPE
Auto Trait Implementations§
impl Freeze for CRIME_TYPE
impl RefUnwindSafe for CRIME_TYPE
impl Send for CRIME_TYPE
impl Sync for CRIME_TYPE
impl Unpin for CRIME_TYPE
impl UnwindSafe for CRIME_TYPE
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