pub struct WindowsGPUInfo {
pub name: String,
pub vendor: String,
pub memory_mb: u64,
pub driver_version: Option<String>,
pub device_id: Option<String>,
pub adapter_ram: Option<u64>,
pub dedicated_memory: Option<u64>,
pub shared_memory: Option<u64>,
pub current_usage: Option<f32>,
}Expand description
Windows-specific GPU information
Fields§
§name: String§vendor: String§memory_mb: u64§driver_version: Option<String>§device_id: Option<String>§adapter_ram: Option<u64>§dedicated_memory: Option<u64>§current_usage: Option<f32>Implementations§
Trait Implementations§
Source§impl Clone for WindowsGPUInfo
impl Clone for WindowsGPUInfo
Source§fn clone(&self) -> WindowsGPUInfo
fn clone(&self) -> WindowsGPUInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for WindowsGPUInfo
impl RefUnwindSafe for WindowsGPUInfo
impl Send for WindowsGPUInfo
impl Sync for WindowsGPUInfo
impl Unpin for WindowsGPUInfo
impl UnwindSafe for WindowsGPUInfo
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