pub struct DeviceInformation {
pub is_software_emulated: bool,
pub device_name: String,
pub driver_name: String,
pub driver_info: String,
}Fields§
§is_software_emulated: boolIf this is something like llvmpipe, not a real GPU
device_name: StringThe name of the GPU device
driver_name: StringThe driver used to talk to the GPU
driver_info: StringFurther information about the driver
Trait Implementations§
Source§impl Clone for DeviceInformation
impl Clone for DeviceInformation
Source§fn clone(&self) -> DeviceInformation
fn clone(&self) -> DeviceInformation
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 DeviceInformation
impl Debug for DeviceInformation
Source§impl Default for DeviceInformation
impl Default for DeviceInformation
Source§fn default() -> DeviceInformation
fn default() -> DeviceInformation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceInformation
impl RefUnwindSafe for DeviceInformation
impl Send for DeviceInformation
impl Sync for DeviceInformation
impl Unpin for DeviceInformation
impl UnwindSafe for DeviceInformation
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