pub trait LangItem<L>{
// Required method
fn format(
&self,
fmt: &mut Formatter<'_>,
config: &L::Config,
format: &L::Format
) -> Result;
}
Expand description
A type-erased holder for language-specific items.
Carries formatting and coercion functions like LangItem to allow language specific processing to work.
Required Methods§
Object Safety§
This trait is not object safe.