pub struct KnownFeature {
pub name: &'static str,
pub versions: &'static [FeatureVersion],
}Expand description
Represents a known HID++2.0 device feature.
Fields§
§name: &'static strThe name of the feature. This is usually a slightly modified version of the name found in Logitech’s documentation.
versions: &'static [FeatureVersion]A list of concrete implementations of the feature, each supporting the feature starting from a specific version.
Trait Implementations§
Source§impl Clone for KnownFeature
impl Clone for KnownFeature
Source§fn clone(&self) -> KnownFeature
fn clone(&self) -> KnownFeature
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 KnownFeature
Source§impl Debug for KnownFeature
impl Debug for KnownFeature
Auto Trait Implementations§
impl Freeze for KnownFeature
impl RefUnwindSafe for KnownFeature
impl Send for KnownFeature
impl Sync for KnownFeature
impl Unpin for KnownFeature
impl UnsafeUnpin for KnownFeature
impl UnwindSafe for KnownFeature
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