#[non_exhaustive]#[repr(u32)]pub enum _PedExceptionOption {
Show 14 variants
PED_EXCEPTION_UNHANDLED = 0,
PED_EXCEPTION_FIX = 1,
PED_EXCEPTION_YES = 2,
PED_EXCEPTION_NO = 4,
PED_EXCEPTION_OK = 8,
PED_EXCEPTION_RETRY = 16,
PED_EXCEPTION_IGNORE = 32,
PED_EXCEPTION_CANCEL = 64,
PED_EXCEPTION_OK_CANCEL = 72,
PED_EXCEPTION_YES_NO = 6,
PED_EXCEPTION_YES_NO_CANCEL = 70,
PED_EXCEPTION_IGNORE_CANCEL = 96,
PED_EXCEPTION_RETRY_CANCEL = 80,
PED_EXCEPTION_RETRY_IGNORE_CANCEL = 112,
}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_UNHANDLED = 0
PED_EXCEPTION_FIX = 1
PED_EXCEPTION_YES = 2
PED_EXCEPTION_NO = 4
PED_EXCEPTION_OK = 8
PED_EXCEPTION_RETRY = 16
PED_EXCEPTION_IGNORE = 32
PED_EXCEPTION_CANCEL = 64
PED_EXCEPTION_OK_CANCEL = 72
PED_EXCEPTION_YES_NO = 6
PED_EXCEPTION_YES_NO_CANCEL = 70
PED_EXCEPTION_IGNORE_CANCEL = 96
PED_EXCEPTION_RETRY_CANCEL = 80
PED_EXCEPTION_RETRY_IGNORE_CANCEL = 112
Trait Implementations§
Source§impl Clone for _PedExceptionOption
impl Clone for _PedExceptionOption
Source§fn clone(&self) -> _PedExceptionOption
fn clone(&self) -> _PedExceptionOption
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 _PedExceptionOption
impl Debug for _PedExceptionOption
Source§impl Hash for _PedExceptionOption
impl Hash for _PedExceptionOption
Source§impl PartialEq for _PedExceptionOption
impl PartialEq for _PedExceptionOption
impl Copy for _PedExceptionOption
impl Eq for _PedExceptionOption
impl StructuralPartialEq for _PedExceptionOption
Auto Trait Implementations§
impl Freeze for _PedExceptionOption
impl RefUnwindSafe for _PedExceptionOption
impl Send for _PedExceptionOption
impl Sync for _PedExceptionOption
impl Unpin for _PedExceptionOption
impl UnwindSafe for _PedExceptionOption
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