pub struct GPUCanvasContext(/* private fields */);
Implementations§
Source§impl GPUCanvasContext
impl GPUCanvasContext
pub fn from_element(element: &ExternRef) -> Self
pub fn configure(&self, config: &GpuCanvasConfiguration<'_>)
pub fn get_current_texture(&self) -> GPUTexture
Auto Trait Implementations§
impl Freeze for GPUCanvasContext
impl RefUnwindSafe for GPUCanvasContext
impl Send for GPUCanvasContext
impl Sync for GPUCanvasContext
impl Unpin for GPUCanvasContext
impl UnwindSafe for GPUCanvasContext
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