Support

Trait Support 

Source
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§

Source

const SUPPORT: Value

Whether and how the API is supported.

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.

Implementors§

Source§

impl<T: Supported> Support<bool> for T

Source§

const SUPPORT: bool = true