pub struct WebGPU;
Implementations§
Source§impl WebGPU
impl WebGPU
pub fn is_available() -> bool
pub async fn request_adapter() -> GPUAdapter
pub fn get_preferred_canvas_format() -> GPUTextureFormat
Auto Trait Implementations§
impl Freeze for WebGPU
impl RefUnwindSafe for WebGPU
impl Send for WebGPU
impl Sync for WebGPU
impl Unpin for WebGPU
impl UnwindSafe for WebGPU
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