pub struct SgAdapter(/* private fields */);Trait Implementations§
Source§impl AdapterInterface for SgAdapter
impl AdapterInterface for SgAdapter
fn request_device( &self, desc: &DeviceDescriptor<'_>, ) -> Pin<Box<dyn RequestDeviceFuture>>
fn is_surface_supported(&self, _surface: &DispatchSurface) -> bool
fn features(&self) -> Features
fn limits(&self) -> Limits
fn downlevel_capabilities(&self) -> DownlevelCapabilities
fn get_info(&self) -> AdapterInfo
fn get_texture_format_features( &self, format: TextureFormat, ) -> TextureFormatFeatures
fn get_presentation_timestamp(&self) -> PresentationTimestamp
fn cooperative_matrix_properties(&self) -> Vec<CooperativeMatrixProperties>
Auto Trait Implementations§
impl Freeze for SgAdapter
impl RefUnwindSafe for SgAdapter
impl !Send for SgAdapter
impl !Sync for SgAdapter
impl Unpin for SgAdapter
impl UnsafeUnpin for SgAdapter
impl UnwindSafe for SgAdapter
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