pub enum WgpuInitError {
WgpuInstanceError(InstanceError),
WgpuDeviceError(DeviceError),
WgpuRequestDeviceError(RequestDeviceError),
WgpuAdapterNotCreated,
}👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
Variants§
WgpuInstanceError(InstanceError)
👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
WgpuDeviceError(DeviceError)
👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
WgpuRequestDeviceError(RequestDeviceError)
👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
WgpuAdapterNotCreated
👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
Trait Implementations§
Source§impl Debug for WgpuInitError
impl Debug for WgpuInitError
Source§impl Display for WgpuInitError
impl Display for WgpuInitError
Source§impl Error for WgpuInitError
impl Error for WgpuInitError
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 From<DeviceError> for WgpuInitError
impl From<DeviceError> for WgpuInitError
Source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
Source§impl From<InstanceError> for WgpuInitError
impl From<InstanceError> for WgpuInitError
Source§fn from(source: InstanceError) -> Self
fn from(source: InstanceError) -> Self
Converts to this type from the input type.
Source§impl From<RequestDeviceError> for WgpuInitError
impl From<RequestDeviceError> for WgpuInitError
Source§fn from(source: RequestDeviceError) -> Self
fn from(source: RequestDeviceError) -> Self
Converts to this type from the input type.
Source§impl From<WgpuInitError> for VulkanInitError
impl From<WgpuInitError> for VulkanInitError
Source§fn from(source: WgpuInitError) -> Self
fn from(source: WgpuInitError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WgpuInitError
impl !RefUnwindSafe for WgpuInitError
impl Send for WgpuInitError
impl Sync for WgpuInitError
impl Unpin for WgpuInitError
impl UnsafeUnpin for WgpuInitError
impl !UnwindSafe for WgpuInitError
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