pub trait CreatableFeature: Feature {
const ID: u16;
const STARTING_VERSION: u8;
// Required method
fn new(chan: Arc<HidppChannel>, device_index: u8, feature_index: u8) -> Self;
}Expand description
Represents a Feature that can be instantiated automatically.
Required Associated Constants§
Sourceconst STARTING_VERSION: u8
const STARTING_VERSION: u8
The version of the feature the implementation starts to support.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".