pub struct DawnSurface { /* private fields */ }Methods from Deref<Target = Surface>§
pub fn configure(&self, config: &SurfaceConfiguration)
pub fn get_capabilities( &self, adapter: Adapter, capabilities: &mut SurfaceCapabilities, ) -> Status
pub fn get_current_texture(&self, surface_texture: &mut SurfaceTexture)
pub fn present(&self) -> Status
pub fn unconfigure(&self)
pub fn set_label(&self, label: String)
Trait Implementations§
Source§impl Clone for DawnSurface
impl Clone for DawnSurface
Source§fn clone(&self) -> DawnSurface
fn clone(&self) -> DawnSurface
Returns a duplicate 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 moreSource§impl Debug for DawnSurface
impl Debug for DawnSurface
Source§impl Deref for DawnSurface
impl Deref for DawnSurface
Source§impl SurfaceInterface for DawnSurface
impl SurfaceInterface for DawnSurface
fn get_capabilities(&self, adapter: &DispatchAdapter) -> SurfaceCapabilities
fn configure(&self, device: &DispatchDevice, config: &SurfaceConfiguration)
fn get_current_texture( &self, ) -> (Option<DispatchTexture>, SurfaceStatus, DispatchSurfaceOutputDetail)
Auto Trait Implementations§
impl Freeze for DawnSurface
impl RefUnwindSafe for DawnSurface
impl Send for DawnSurface
impl Sync for DawnSurface
impl Unpin for DawnSurface
impl UnsafeUnpin for DawnSurface
impl UnwindSafe for DawnSurface
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