pub struct GpuProperties {
pub vendor: String,
pub device_name: String,
pub device_class: GpuDeviceClass,
pub device_id: String,
}Fields§
§vendor: StringGPU vendor name.
device_name: StringGPU vendor card name.
device_class: GpuDeviceClassGPU device class. See https://admin.pci-ids.ucw.cz/read/PD/03.
device_id: StringGPU vendor & device IDs.
Trait Implementations§
Source§impl Clone for GpuProperties
impl Clone for GpuProperties
Source§fn clone(&self) -> GpuProperties
fn clone(&self) -> GpuProperties
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 moreSource§impl Debug for GpuProperties
impl Debug for GpuProperties
Source§impl<'de> Deserialize<'de> for GpuProperties
impl<'de> Deserialize<'de> for GpuProperties
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GpuProperties
impl PartialEq for GpuProperties
Source§impl Serialize for GpuProperties
impl Serialize for GpuProperties
impl StructuralPartialEq for GpuProperties
Auto Trait Implementations§
impl Freeze for GpuProperties
impl RefUnwindSafe for GpuProperties
impl Send for GpuProperties
impl Sync for GpuProperties
impl Unpin for GpuProperties
impl UnwindSafe for GpuProperties
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