pub struct DeviceInfo<'a> {
pub vendor_name: Option<&'a str>,
pub device_name: Option<&'a str>,
pub subvendor_name: Option<&'a str>,
pub subdevice_name: Option<&'a str>,
}
Fields§
§vendor_name: Option<&'a str>
§device_name: Option<&'a str>
§subvendor_name: Option<&'a str>
§subdevice_name: Option<&'a str>
Trait Implementations§
Source§impl<'a> Clone for DeviceInfo<'a>
impl<'a> Clone for DeviceInfo<'a>
Source§fn clone(&self) -> DeviceInfo<'a>
fn clone(&self) -> DeviceInfo<'a>
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<'a> Debug for DeviceInfo<'a>
impl<'a> Debug for DeviceInfo<'a>
Source§impl<'a> Default for DeviceInfo<'a>
impl<'a> Default for DeviceInfo<'a>
Source§fn default() -> DeviceInfo<'a>
fn default() -> DeviceInfo<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for DeviceInfo<'a>
impl<'a> RefUnwindSafe for DeviceInfo<'a>
impl<'a> Send for DeviceInfo<'a>
impl<'a> Sync for DeviceInfo<'a>
impl<'a> Unpin for DeviceInfo<'a>
impl<'a> UnwindSafe for DeviceInfo<'a>
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