Trait FmtConst
Source pub trait FmtConst {
// Required method
fn fmt_const(&self, f: &mut Formatter<'_>) -> Result;
}
Expand description
Trait for printing types with const constructors, used by phf_codegen and phf_macros.
Print a const expression representing this value.
Source§Available on crate feature std only.
Source§Available on crate feature std only.
Source§Available on crate feature std only.
Source§Available on crate feature std only.
Source§Available on crate feature std only.
Source§Available on crate feature std only.
Source§Available on crate feature std only.
Source§Available on crate feature std only.
Source§Available on crate feature std only.
Source§Available on crate feature std only.
Source§Available on crate feature std only.
Source§Available on crate feature std only.
Source§Available on crate feature std only.
Source§Available on crate feature std only.