pub struct Device {
pub vendor: Vendor,
pub device_name: String,
pub device_type: DeviceType,
pub device_id: u32,
pub vendor_id: u32,
pub driver_name: String,
pub driver_info: String,
pub api_version: String,
pub heapbudget: u64,
pub heapsize: u64,
pub characteristics: GPUCharacteristics,
}
Expand description
Represents a physical GPU device.
Fields§
§vendor: Vendor
§device_name: String
§device_type: DeviceType
§device_id: u32
§vendor_id: u32
§driver_name: String
§driver_info: String
§api_version: String
§heapbudget: u64
§heapsize: u64
§characteristics: GPUCharacteristics
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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