pub struct GPUInfo {
pub manufacturer: String,
pub model: String,
pub memory: Option<u32>,
pub cores: Option<u32>,
}
Expand description
GPU information.
Fields§
§manufacturer: String
GPU manufacturer.
model: String
GPU model.
memory: Option<u32>
Memory in MB.
cores: Option<u32>
GPU cores (if available).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GPUInfo
impl RefUnwindSafe for GPUInfo
impl Send for GPUInfo
impl Sync for GPUInfo
impl Unpin for GPUInfo
impl UnwindSafe for GPUInfo
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