Trait FieldNamesAsArray

Source
pub trait FieldNamesAsArray<const N: usize> {
    const FIELD_NAMES_AS_ARRAY: [&'static str; N];
}
Expand description

Exposes the FIELD_NAMES_AS_ARRAY constant.

This trait is designed to be derived rather than implemented by hand (though that’d be perfectly fine as well). Please refer to the top-level documentation for more information.

Required Associated Constants§

Source

const FIELD_NAMES_AS_ARRAY: [&'static str; N]

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§