Skip to main content

BoolFmt

Type Alias BoolFmt 

Source
pub type BoolFmt<const DER: bool> = Mapped<Refined<U8, PredFnSpec<u8>>, FnSpecMapper<u8, bool>>;

Aliased Type§

pub struct BoolFmt<const DER: bool> {
    pub inner: Refined<U8, FnSpec<(u8,), bool>>,
    pub mapper: (FnSpec<(u8,), bool>, FnSpec<(bool,), u8>),
}

Fields§

§inner: Refined<U8, FnSpec<(u8,), bool>>

The inner combinator whose values are being transformed.

§mapper: (FnSpec<(u8,), bool>, FnSpec<(bool,), u8>)

The mapping between the inner and outer value types.