pub struct CoreAdapter {
pub(crate) context: ContextWgpuCore,
pub(crate) id: AdapterId,
}
Available on
wgpu_core
only.Fields§
§context: ContextWgpuCore
§id: AdapterId
Trait Implementations§
source§impl AdapterInterface for CoreAdapter
impl AdapterInterface for CoreAdapter
fn request_device( &self, desc: &DeviceDescriptor<'_>, trace_dir: Option<&Path>, ) -> 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
source§impl Debug for CoreAdapter
impl Debug for CoreAdapter
source§impl Drop for CoreAdapter
impl Drop for CoreAdapter
source§impl Hash for CoreAdapter
impl Hash for CoreAdapter
source§impl Ord for CoreAdapter
impl Ord for CoreAdapter
source§impl PartialEq for CoreAdapter
impl PartialEq for CoreAdapter
source§impl PartialOrd for CoreAdapter
impl PartialOrd for CoreAdapter
impl Eq for CoreAdapter
Auto Trait Implementations§
impl Freeze for CoreAdapter
impl !RefUnwindSafe for CoreAdapter
impl Send for CoreAdapter
impl Sync for CoreAdapter
impl Unpin for CoreAdapter
impl !UnwindSafe for CoreAdapter
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.