pub struct DeviceInfo {
pub backend: BackendKind,
pub name: String,
pub id: DeviceId,
pub vendor_id: Option<u32>,
pub device_pci_id: Option<u32>,
pub dedicated_memory_bytes: u64,
pub is_integrated: bool,
}Fields§
§backend: BackendKind§name: String§id: DeviceId§vendor_id: Option<u32>§device_pci_id: Option<u32>§dedicated_memory_bytes: u64§is_integrated: boolTrait Implementations§
Source§impl Clone for DeviceInfo
impl Clone for DeviceInfo
Auto Trait Implementations§
impl Freeze for DeviceInfo
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnsafeUnpin for DeviceInfo
impl UnwindSafe for DeviceInfo
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