Skip to main content

FieldNamesAsSlice

Trait FieldNamesAsSlice 

Source
pub trait FieldNamesAsSlice {
    const FIELD_NAMES_AS_SLICE: &'static [&'static str];
}
Expand description

Exposes the FIELD_NAMES_AS_SLICE 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_SLICE: &'static [&'static str]

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§