#[non_exhaustive]#[repr(u32)]pub enum _PedExceptionType {
PED_EXCEPTION_INFORMATION = 1,
PED_EXCEPTION_WARNING = 2,
PED_EXCEPTION_ERROR = 3,
PED_EXCEPTION_FATAL = 4,
PED_EXCEPTION_BUG = 5,
PED_EXCEPTION_NO_FEATURE = 6,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PED_EXCEPTION_INFORMATION = 1
PED_EXCEPTION_WARNING = 2
PED_EXCEPTION_ERROR = 3
PED_EXCEPTION_FATAL = 4
PED_EXCEPTION_BUG = 5
PED_EXCEPTION_NO_FEATURE = 6
Trait Implementations§
Source§impl Clone for _PedExceptionType
impl Clone for _PedExceptionType
Source§fn clone(&self) -> _PedExceptionType
fn clone(&self) -> _PedExceptionType
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 _PedExceptionType
impl Debug for _PedExceptionType
Source§impl Hash for _PedExceptionType
impl Hash for _PedExceptionType
Source§impl PartialEq for _PedExceptionType
impl PartialEq for _PedExceptionType
impl Copy for _PedExceptionType
impl Eq for _PedExceptionType
impl StructuralPartialEq for _PedExceptionType
Auto Trait Implementations§
impl Freeze for _PedExceptionType
impl RefUnwindSafe for _PedExceptionType
impl Send for _PedExceptionType
impl Sync for _PedExceptionType
impl Unpin for _PedExceptionType
impl UnwindSafe for _PedExceptionType
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