Trait diny_core::backend::FormatEncode[][src]

pub trait FormatEncode: Format {
Show 20 associated items type EncodeUnit: Encode<Data = (), Format = Self>; type EncodeBool: Encode<Data = bool, Format = Self>; type EncodeI8: Encode<Data = i8, Format = Self>; type EncodeI16: Encode<Data = i16, Format = Self>; type EncodeI32: Encode<Data = i32, Format = Self>; type EncodeI64: Encode<Data = i64, Format = Self>; type EncodeI128: Encode<Data = i128, Format = Self>; type EncodeU8: Encode<Data = u8, Format = Self>; type EncodeU16: Encode<Data = u16, Format = Self>; type EncodeU32: Encode<Data = u32, Format = Self>; type EncodeU64: Encode<Data = u64, Format = Self>; type EncodeU128: Encode<Data = u128, Format = Self>; type EncodeF32: Encode<Data = f32, Format = Self>; type EncodeF64: Encode<Data = f64, Format = Self>; type EncodeByteSlice: Encode<Data = [u8], Format = Self>; type EncodeChar: Encode<Data = char, Format = Self>; type EncodeStr: Encode<Data = str, Format = Self>; type EncodeString: Encode<Data = String, Format = Self>; type EncodeVariantIdx: Encode<Data = VariantIdx, Format = Self>; type EncodeSequenceLen: Encode<Data = SequenceLen, Format = Self>;
}
Expand description

Define the primitive encoders utilized by a formatter

Associated Types

This is supported on crate features std or alloc only.

Implementors