pub trait Support<Value> {
const SUPPORT: Value;
}
Expand description
Describes how an API is supported.
The Value
type parameter is usually bool
. It may also be usize
for APIs that have multiple
similar things like buttons, leds, and timers.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.