pub struct GpuReport {
pub active: AdapterReport,
pub available: Vec<AdapterReport>,
pub hidden: Vec<AdapterReport>,
pub surface: Option<SurfaceReport>,
}Expand description
The GPU an app ended up on and the ones it could have used.
Fields§
§active: AdapterReportThe adapter in use.
available: Vec<AdapterReport>Every adapter the graphics API offers.
Adapters that exist but are left out because their driver is not conformant, which an old GPU’s driver may not be.
surface: Option<SurfaceReport>The window’s surface; None when no window could be opened.
Trait Implementations§
impl Eq for GpuReport
impl StructuralPartialEq for GpuReport
Auto Trait Implementations§
impl Freeze for GpuReport
impl RefUnwindSafe for GpuReport
impl Send for GpuReport
impl Sync for GpuReport
impl Unpin for GpuReport
impl UnsafeUnpin for GpuReport
impl UnwindSafe for GpuReport
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