Trait phf_shared::FmtConst[][src]

pub trait FmtConst {
    fn fmt_const(&self, f: &mut Formatter<'_>) -> Result;
}
Expand description

Trait for printing types with const constructors, used by phf_codegen and phf_macros.

Required methods

Print a const expression representing this value.

Implementations on Foreign Types

Implementors