pub struct WebGpuBackend;Trait Implementations§
Source§impl Backend for WebGpuBackend
impl Backend for WebGpuBackend
Source§fn kind(&self) -> BackendKind
fn kind(&self) -> BackendKind
Static identity.
Source§fn is_available(&self) -> bool
fn is_available(&self) -> bool
Whether the backend’s runtime libraries were located on this host.
Source§fn capabilities(&self, device: u32) -> Result<CapabilityFlags>
fn capabilities(&self, device: u32) -> Result<CapabilityFlags>
Coarse capability bits for a device, translated from the vendor’s
capability table into the common
CapabilityFlags space.Auto Trait Implementations§
impl Freeze for WebGpuBackend
impl RefUnwindSafe for WebGpuBackend
impl Send for WebGpuBackend
impl Sync for WebGpuBackend
impl Unpin for WebGpuBackend
impl UnsafeUnpin for WebGpuBackend
impl UnwindSafe for WebGpuBackend
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