[][src]Trait phf_shared::FmtConst

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

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

Required methods

fn fmt_const(&self, f: &mut Formatter) -> Result

Print a const expression representing this value.

Loading content...

Implementations on Foreign Types

impl FmtConst for str[src]

impl FmtConst for char[src]

impl FmtConst for u8[src]

impl FmtConst for i8[src]

impl FmtConst for u16[src]

impl FmtConst for i16[src]

impl FmtConst for u32[src]

impl FmtConst for i32[src]

impl FmtConst for u64[src]

impl FmtConst for i64[src]

impl FmtConst for u128[src]

impl FmtConst for i128[src]

impl FmtConst for bool[src]

impl<'a, T: 'a + FmtConst + ?Sized> FmtConst for &'a T[src]

impl FmtConst for [u8][src]

impl FmtConst for [u8; 1][src]

impl FmtConst for [u8; 2][src]

impl FmtConst for [u8; 3][src]

impl FmtConst for [u8; 4][src]

impl FmtConst for [u8; 5][src]

impl FmtConst for [u8; 6][src]

impl FmtConst for [u8; 7][src]

impl FmtConst for [u8; 8][src]

impl FmtConst for [u8; 9][src]

impl FmtConst for [u8; 10][src]

impl FmtConst for [u8; 11][src]

impl FmtConst for [u8; 12][src]

impl FmtConst for [u8; 13][src]

impl FmtConst for [u8; 14][src]

impl FmtConst for [u8; 15][src]

impl FmtConst for [u8; 16][src]

impl FmtConst for [u8; 17][src]

impl FmtConst for [u8; 18][src]

impl FmtConst for [u8; 19][src]

impl FmtConst for [u8; 20][src]

impl FmtConst for [u8; 21][src]

impl FmtConst for [u8; 22][src]

impl FmtConst for [u8; 23][src]

impl FmtConst for [u8; 24][src]

impl FmtConst for [u8; 25][src]

impl FmtConst for [u8; 26][src]

impl FmtConst for [u8; 27][src]

impl FmtConst for [u8; 28][src]

impl FmtConst for [u8; 29][src]

impl FmtConst for [u8; 30][src]

impl FmtConst for [u8; 31][src]

impl FmtConst for [u8; 32][src]

Loading content...

Implementors

Loading content...