pub struct PresentationSurface<'window> { /* private fields */ }Implementations§
Source§impl<'window> PresentationSurface<'window>
impl<'window> PresentationSurface<'window>
pub const fn graphics_present_supported(&self) -> bool
pub fn capabilities(&self) -> Result<PresentationCapabilities>
Trait Implementations§
Source§impl Drop for PresentationSurface<'_>
impl Drop for PresentationSurface<'_>
Auto Trait Implementations§
impl<'window> !Send for PresentationSurface<'window>
impl<'window> !Sync for PresentationSurface<'window>
impl<'window> Forget for PresentationSurface<'window>
impl<'window> Freeze for PresentationSurface<'window>where
*const ArcInner<Device> is !null: Freeze,
PhantomData<ArcInner<Device>>: Freeze,
PhantomData<&'window SdlWindow>: Freeze,
impl<'window> Move for PresentationSurface<'window>
impl<'window> RefUnwindSafe for PresentationSurface<'window>where
Atomic<usize>: RefUnwindSafe,
Mutex<TransferableAllocator<'static>>: RefUnwindSafe,
Condvar: RefUnwindSafe,
Mutex<CommandPool>: RefUnwindSafe,
Mutex<Option<CommandPool>>: RefUnwindSafe,
Atomic<u64>: RefUnwindSafe,
Mutex<Vec<u32>>: RefUnwindSafe,
Mutex<StoragePool>: RefUnwindSafe,
OnceLock<ComputePipeline>: RefUnwindSafe,
Mutex<PipelineCreation>: RefUnwindSafe,
Mutex<JitFusion>: RefUnwindSafe,
Mutex<HashMap<Vec<u8>, Arc<ComputePipeline>>>: RefUnwindSafe,
impl<'window> Unpin for PresentationSurface<'window>
impl<'window> UnsafeUnpin for PresentationSurface<'window>where
*const ArcInner<Device> is !null: UnsafeUnpin,
PhantomData<ArcInner<Device>>: UnsafeUnpin,
PhantomData<&'window SdlWindow>: UnsafeUnpin,
impl<'window> UnwindSafe for PresentationSurface<'window>
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