Trait utils::parser::Parseable

source ·
pub trait Parseable {
    type Parser: for<'i> Parser<Output<'i> = Self>;

    const PARSER: Self::Parser;
}
Expand description

Trait for types that have a canonical parser.

Required Associated Types§

source

type Parser: for<'i> Parser<Output<'i> = Self>

Required Associated Constants§

source

const PARSER: Self::Parser

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Parseable for i8

source§

type Parser = SignedParser<i8>

source§

const PARSER: Self::Parser = _

source§

impl Parseable for i16

source§

type Parser = SignedParser<i16>

source§

const PARSER: Self::Parser = _

source§

impl Parseable for i32

source§

type Parser = SignedParser<i32>

source§

const PARSER: Self::Parser = _

source§

impl Parseable for i64

source§

type Parser = SignedParser<i64>

source§

const PARSER: Self::Parser = _

source§

impl Parseable for i128

source§

type Parser = SignedParser<i128>

source§

const PARSER: Self::Parser = _

source§

impl Parseable for u8

source§

type Parser = UnsignedParser<u8>

source§

const PARSER: Self::Parser = _

source§

impl Parseable for u16

source§

type Parser = UnsignedParser<u16>

source§

const PARSER: Self::Parser = _

source§

impl Parseable for u32

source§

type Parser = UnsignedParser<u32>

source§

const PARSER: Self::Parser = _

source§

impl Parseable for u64

source§

type Parser = UnsignedParser<u64>

source§

const PARSER: Self::Parser = _

source§

impl Parseable for u128

source§

type Parser = UnsignedParser<u128>

source§

const PARSER: Self::Parser = _

Implementors§