pub struct AdapterReport {
pub info: AdapterInfo,
pub features: Features,
pub limits: Limits,
pub downlevel_caps: DownlevelCapabilities,
pub texture_format_features: HashMap<TextureFormat, TextureFormatFeatures>,
}
Expand description
A single report of the capabilities of an Adapter.
Must be synchronized with the definition on wgpu-info/src/report.rs.
Fields§
§info: AdapterInfo
§features: Features
§limits: Limits
§downlevel_caps: DownlevelCapabilities
§texture_format_features: HashMap<TextureFormat, TextureFormatFeatures>
Implementations§
Source§impl AdapterReport
impl AdapterReport
pub(crate) fn from_adapter(adapter: &Adapter) -> Self
Trait Implementations§
Source§impl Clone for AdapterReport
impl Clone for AdapterReport
Source§fn clone(&self) -> AdapterReport
fn clone(&self) -> AdapterReport
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for AdapterReport
impl<'de> Deserialize<'de> for AdapterReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AdapterReport
impl RefUnwindSafe for AdapterReport
impl Send for AdapterReport
impl Sync for AdapterReport
impl Unpin for AdapterReport
impl UnwindSafe for AdapterReport
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