#[repr(u32)]
#[non_exhaustive]
pub enum _PedExceptionOption {
PED_EXCEPTION_UNHANDLED,
PED_EXCEPTION_FIX,
PED_EXCEPTION_YES,
PED_EXCEPTION_NO,
PED_EXCEPTION_OK,
PED_EXCEPTION_RETRY,
PED_EXCEPTION_IGNORE,
PED_EXCEPTION_CANCEL,
}
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
PED_EXCEPTION_FIX
PED_EXCEPTION_YES
PED_EXCEPTION_NO
PED_EXCEPTION_OK
PED_EXCEPTION_RETRY
PED_EXCEPTION_IGNORE
PED_EXCEPTION_CANCEL
Trait Implementations§
source§impl Clone for _PedExceptionOption
impl Clone for _PedExceptionOption
source§fn clone(&self) -> _PedExceptionOption
fn clone(&self) -> _PedExceptionOption
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 _PedExceptionOption
impl Debug for _PedExceptionOption
source§impl Hash for _PedExceptionOption
impl Hash for _PedExceptionOption
source§impl PartialEq<_PedExceptionOption> for _PedExceptionOption
impl PartialEq<_PedExceptionOption> for _PedExceptionOption
source§fn eq(&self, other: &_PedExceptionOption) -> bool
fn eq(&self, other: &_PedExceptionOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _PedExceptionOption
impl Eq for _PedExceptionOption
impl StructuralEq for _PedExceptionOption
impl StructuralPartialEq for _PedExceptionOption
Auto Trait Implementations§
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