Enum physx::foundation::ErrorCode
source · [−]#[repr(u32)]
pub enum ErrorCode {
DebugInfo,
DebugWarning,
InvalidParameter,
InvalidOperation,
OutOfMemory,
InternalError,
Abort,
PerfWarning,
}
Variants
DebugInfo
DebugWarning
InvalidParameter
InvalidOperation
OutOfMemory
InternalError
Abort
PerfWarning
Trait Implementations
sourceimpl RawBitFlags for ErrorCode
impl RawBitFlags for ErrorCode
sourceconst EMPTY: Self::Numeric = {transmute(0x00000000): <foundation::ErrorCode as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x00000000): <foundation::ErrorCode as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
sourceconst DEFAULT: Self::Numeric = {transmute(0x00000000): <foundation::ErrorCode as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x00000000): <foundation::ErrorCode as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless
customized. Read more
sourceconst ALL_BITS: Self::Numeric = {transmute(0x000000ff): <foundation::ErrorCode as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x000000ff): <foundation::ErrorCode as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
sourceconst BITFLAGS_TYPE_NAME: &'static str = _
const BITFLAGS_TYPE_NAME: &'static str = _
The name of the type for debug formatting purposes. Read more
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralEq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more