pub trait Func {
const NAME: &'static str;
const FIELD_NAMES: &'static [&'static str];
const DEFAULT_NUM_POS_ARG: usize = 0;
}Expand description
A function like text or glue.
Required Associated Constants§
Sourceconst FIELD_NAMES: &'static [&'static str]
const FIELD_NAMES: &'static [&'static str]
Ordered list of field names.
Provided Associated Constants§
Sourceconst DEFAULT_NUM_POS_ARG: usize = 0
const DEFAULT_NUM_POS_ARG: usize = 0
When printing, the number of arguments to print positionally.
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.