pub struct DeviceSummary {
pub device: u32,
pub rows: Vec<RawRow>,
pub via: ReadVia,
}Expand description
A device’s DEVICE_PROPERTIES as read.
Fields§
§device: u32The device instance.
rows: Vec<RawRow>Each property’s raw value, or why the device gave none.
via: ReadViaWhether the read went by ReadPropertyMultiple or ReadProperty.
Implementations§
Source§impl DeviceSummary
impl DeviceSummary
Sourcepub fn name(&self) -> Option<String>
pub fn name(&self) -> Option<String>
The device’s Object_Name, cleaned for display
(clean_name); None when the device
gave none. Device-supplied text: a front end shows it as data.
Trait Implementations§
Source§impl Clone for DeviceSummary
impl Clone for DeviceSummary
Source§impl Debug for DeviceSummary
impl Debug for DeviceSummary
impl Eq for DeviceSummary
Source§impl PartialEq for DeviceSummary
impl PartialEq for DeviceSummary
impl StructuralPartialEq for DeviceSummary
Auto Trait Implementations§
impl Freeze for DeviceSummary
impl RefUnwindSafe for DeviceSummary
impl Send for DeviceSummary
impl Sync for DeviceSummary
impl Unpin for DeviceSummary
impl UnsafeUnpin for DeviceSummary
impl UnwindSafe for DeviceSummary
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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