pub struct DeviceInfo<'a> {
pub id: Id,
pub mask: DeviceChangeMask,
pub props: &'a Properties,
pub params: &'a [(ParamType, ParamInfoFlags)],
}Expand description
Device information that is provided in a DeviceEvents::info event.
Fields§
§id: IdThe ID of the device.
mask: DeviceChangeMaskWhat changed since the last call.
props: &'a PropertiesThe device’s properties.
params: &'a [(ParamType, ParamInfoFlags)]Device parameters that changed.
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