pub struct FeatureEntry {
pub id: u16,
pub version: u8,
}Expand description
Snapshot of one HID++ feature exposed by a device: protocol ID +
version. Returned by dump_features for diagnostics.
Fields§
§id: u16§version: u8Trait Implementations§
Source§impl Clone for FeatureEntry
impl Clone for FeatureEntry
Source§fn clone(&self) -> FeatureEntry
fn clone(&self) -> FeatureEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FeatureEntry
Auto Trait Implementations§
impl Freeze for FeatureEntry
impl RefUnwindSafe for FeatureEntry
impl Send for FeatureEntry
impl Sync for FeatureEntry
impl Unpin for FeatureEntry
impl UnsafeUnpin for FeatureEntry
impl UnwindSafe for FeatureEntry
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