pub struct FaultType(/* private fields */);Expand description
Implementations§
Source§impl FaultType
impl FaultType
pub const INVALID: FaultType
pub const UNASSIGNED: FaultType
pub const IMPLEMENTATION: FaultType
pub const SYSTEM: FaultType
pub const PHYSICAL_DEVICE: FaultType
pub const COMMAND_BUFFER_FULL: FaultType
pub const INVALID_API_USAGE: FaultType
pub const fn from_raw(value: i32) -> FaultType
pub const fn as_raw(self) -> i32
Trait Implementations§
Source§impl Error for FaultType
impl Error for FaultType
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Ord for FaultType
impl Ord for FaultType
Source§impl PartialOrd for FaultType
impl PartialOrd for FaultType
impl Copy for FaultType
impl Eq for FaultType
impl StructuralPartialEq for FaultType
Auto Trait Implementations§
impl Freeze for FaultType
impl RefUnwindSafe for FaultType
impl Send for FaultType
impl Sync for FaultType
impl Unpin for FaultType
impl UnsafeUnpin for FaultType
impl UnwindSafe for FaultType
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