Skip to main content

ParamTable

Trait ParamTable 

Source
pub trait ParamTable: Copy + 'static {
    const PARAMS: &'static [Param<Self>];
}
Expand description

A config that exposes its fields as named params.

Names must be unique within a table and across the components combined into one view (e.g. a FlightLoop’s guidance and stabilizer), and at most MAX_NAME_LEN bytes.

Required Associated Constants§

Source

const PARAMS: &'static [Param<Self>]

Every param, in a stable order.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§