pub struct SgSurface;Trait Implementations§
Source§impl SurfaceInterface for SgSurface
impl SurfaceInterface for SgSurface
fn get_capabilities(&self, _adapter: &DispatchAdapter) -> SurfaceCapabilities
fn configure(&self, _device: &DispatchDevice, config: &SurfaceConfiguration)
fn get_current_texture( &self, ) -> (Option<DispatchTexture>, SurfaceStatus, DispatchSurfaceOutputDetail)
§fn display_hdr_info(&self, adapter: &DispatchAdapter) -> DisplayHdrInfo
fn display_hdr_info(&self, adapter: &DispatchAdapter) -> DisplayHdrInfo
The backing display’s current HDR / luminance characteristics. Read more
Auto Trait Implementations§
impl Freeze for SgSurface
impl RefUnwindSafe for SgSurface
impl Send for SgSurface
impl Sync for SgSurface
impl Unpin for SgSurface
impl UnsafeUnpin for SgSurface
impl UnwindSafe for SgSurface
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