pub struct LinuxGPUInfo {
pub device_name: String,
pub vendor_name: String,
pub driver: String,
pub pci_id: String,
pub memory_info: Option<String>,
pub driver_version: Option<String>,
}
Expand description
Linux-specific GPU information
Fields§
§device_name: String
§vendor_name: String
§driver: String
§pci_id: String
§memory_info: Option<String>
§driver_version: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for LinuxGPUInfo
impl Clone for LinuxGPUInfo
Source§fn clone(&self) -> LinuxGPUInfo
fn clone(&self) -> LinuxGPUInfo
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 LinuxGPUInfo
impl RefUnwindSafe for LinuxGPUInfo
impl Send for LinuxGPUInfo
impl Sync for LinuxGPUInfo
impl Unpin for LinuxGPUInfo
impl UnwindSafe for LinuxGPUInfo
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