pub trait GPUAdapterInfoMethods<D: DomTypes> {
// Required methods
fn Vendor(&self) -> DOMString;
fn Architecture(&self) -> DOMString;
fn Device(&self) -> DOMString;
fn Description(&self) -> DOMString;
fn SubgroupMinSize(&self) -> u32;
fn SubgroupMaxSize(&self) -> u32;
fn IsFallbackAdapter(&self) -> bool;
}Required Methods§
fn Vendor(&self) -> DOMString
fn Architecture(&self) -> DOMString
fn Device(&self) -> DOMString
fn Description(&self) -> DOMString
fn SubgroupMinSize(&self) -> u32
fn SubgroupMaxSize(&self) -> u32
fn IsFallbackAdapter(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".