pub struct SgInstance;Trait Implementations§
Source§impl Debug for SgInstance
impl Debug for SgInstance
Source§impl InstanceInterface for SgInstance
impl InstanceInterface for SgInstance
fn new(_desc: InstanceDescriptor) -> Self
unsafe fn create_surface( &self, _target: SurfaceTargetUnsafe, ) -> Result<DispatchSurface, CreateSurfaceError>
fn request_adapter( &self, _options: &RequestAdapterOptions<'_, '_>, ) -> Pin<Box<dyn RequestAdapterFuture>>
fn poll_all_devices(&self, force_wait: bool) -> bool
fn wgsl_language_features(&self) -> WgslLanguageFeatures
fn enumerate_adapters( &self, _backends: Backends, ) -> Pin<Box<dyn EnumerateAdapterFuture>>
Auto Trait Implementations§
impl Freeze for SgInstance
impl RefUnwindSafe for SgInstance
impl Send for SgInstance
impl Sync for SgInstance
impl Unpin for SgInstance
impl UnsafeUnpin for SgInstance
impl UnwindSafe for SgInstance
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