Dialect

Trait Dialect 

Source
pub trait Dialect {
    // Required methods
    fn key() -> &'static str;
    fn section() -> Section;
}
Expand description

A “dialect”, of strongly typed main section.

Required Methods§

Source

fn key() -> &'static str

The name of the field inside the section.

Source

fn section() -> Section

The section.

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§