pub struct AdapterReport {
pub name: String,
pub backend: String,
pub device_type: String,
pub driver: String,
pub driver_info: String,
pub software: bool,
}Expand description
One GPU as the graphics API describes it.
Fields§
§name: StringThe GPU’s name.
backend: StringThe graphics API: Vulkan, Metal, DX12, GL or WebGPU.
device_type: StringIntegrated, discrete, virtual or CPU.
driver: StringThe driver’s name.
driver_info: StringThe driver’s version and details.
software: boolIt draws on the CPU, with no GPU behind it.
Trait Implementations§
Source§impl Clone for AdapterReport
impl Clone for AdapterReport
Source§fn clone(&self) -> AdapterReport
fn clone(&self) -> AdapterReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdapterReport
impl Debug for AdapterReport
Source§impl Default for AdapterReport
impl Default for AdapterReport
Source§fn default() -> AdapterReport
fn default() -> AdapterReport
Returns the “default value” for a type. Read more
Source§impl Display for AdapterReport
impl Display for AdapterReport
impl Eq for AdapterReport
Source§impl PartialEq for AdapterReport
impl PartialEq for AdapterReport
impl StructuralPartialEq for AdapterReport
Auto Trait Implementations§
impl Freeze for AdapterReport
impl RefUnwindSafe for AdapterReport
impl Send for AdapterReport
impl Sync for AdapterReport
impl Unpin for AdapterReport
impl UnsafeUnpin 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