pub(crate) enum CreateSurfaceErrorKind {
Hal(CreateSurfaceError),
Web(String),
RawHandle(HandleError),
}
Variants§
Hal(CreateSurfaceError)
Available on
wgpu_core
only.Error from [wgpu_hal
].
Web(String)
Error from WebGPU surface creation.
RawHandle(HandleError)
Error when trying to get a [DisplayHandle
] or a WindowHandle
from
raw_window_handle
.
Trait Implementations§
source§impl Clone for CreateSurfaceErrorKind
impl Clone for CreateSurfaceErrorKind
source§fn clone(&self) -> CreateSurfaceErrorKind
fn clone(&self) -> CreateSurfaceErrorKind
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 moreAuto Trait Implementations§
impl Freeze for CreateSurfaceErrorKind
impl !RefUnwindSafe for CreateSurfaceErrorKind
impl Send for CreateSurfaceErrorKind
impl Sync for CreateSurfaceErrorKind
impl Unpin for CreateSurfaceErrorKind
impl !UnwindSafe for CreateSurfaceErrorKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)