Enum wgpu_core::device::resource::CreateDeviceError
source · pub enum CreateDeviceError {
OutOfMemory,
FailedToCreateZeroBuffer(DeviceError),
}
Variants§
OutOfMemory
FailedToCreateZeroBuffer(DeviceError)
Trait Implementations§
source§impl Clone for CreateDeviceError
impl Clone for CreateDeviceError
source§fn clone(&self) -> CreateDeviceError
fn clone(&self) -> CreateDeviceError
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 CreateDeviceError
impl Debug for CreateDeviceError
source§impl Display for CreateDeviceError
impl Display for CreateDeviceError
source§impl Error for CreateDeviceError
impl Error for CreateDeviceError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<DeviceError> for CreateDeviceError
impl From<DeviceError> for CreateDeviceError
source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CreateDeviceError
impl Send for CreateDeviceError
impl Sync for CreateDeviceError
impl Unpin for CreateDeviceError
impl UnwindSafe for CreateDeviceError
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