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

Object Safety§

This trait is not object safe.

Implementors§

source§

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

source§

const SUPPORT: bool = true