Type Alias json_syntax::NumberBuf

source ·
pub type NumberBuf = SmallNumberBuf<NUMBER_CAPACITY>;
Expand description

Number buffer.

Aliased Type§

struct NumberBuf { /* private fields */ }

Trait Implementations§

source§

impl Parse for NumberBuf

source§

fn parse_in<C, E>( parser: &mut Parser<C, E>, context: Context, ) -> Result<Meta<Self, usize>, Error<E>>
where C: Iterator<Item = Result<DecodedChar, E>>,

source§

fn parse_slice(content: &[u8]) -> Result<(Self, CodeMap), Error>

source§

fn parse_slice_with( content: &[u8], options: Options, ) -> Result<(Self, CodeMap), Error>

source§

fn parse_str(content: &str) -> Result<(Self, CodeMap), Error>

source§

fn parse_str_with( content: &str, options: Options, ) -> Result<(Self, CodeMap), Error>

source§

fn parse_infallible_utf8<C>(chars: C) -> Result<(Self, CodeMap), Error>
where C: Iterator<Item = char>,

source§

fn parse_utf8_infallible_with<C>( chars: C, options: Options, ) -> Result<(Self, CodeMap), Error>
where C: Iterator<Item = char>,

source§

fn parse_utf8<C, E>(chars: C) -> Result<(Self, CodeMap), Error<E>>
where C: Iterator<Item = Result<char, E>>,

source§

fn parse_utf8_with<C, E>( chars: C, options: Options, ) -> Result<(Self, CodeMap), Error<E>>
where C: Iterator<Item = Result<char, E>>,

source§

fn parse_infallible<C>(chars: C) -> Result<(Self, CodeMap), Error>
where C: Iterator<Item = DecodedChar>,

source§

fn parse_infallible_with<C>( chars: C, options: Options, ) -> Result<(Self, CodeMap), Error>
where C: Iterator<Item = DecodedChar>,

source§

fn parse<C, E>(chars: C) -> Result<(Self, CodeMap), Error<E>>
where C: Iterator<Item = Result<DecodedChar, E>>,

source§

fn parse_with<C, E>( chars: C, options: Options, ) -> Result<(Self, CodeMap), Error<E>>
where C: Iterator<Item = Result<DecodedChar, E>>,

source§

impl Print for NumberBuf

source§

fn fmt_with( &self, f: &mut Formatter<'_>, _options: &Options, _indent: usize, ) -> Result

source§

fn pretty_print(&self) -> Printed<'_, Self>

Print the value with Options::pretty options.
source§

fn compact_print(&self) -> Printed<'_, Self>

Print the value with Options::compact options.
source§

fn inline_print(&self) -> Printed<'_, Self>

Print the value with Options::inline options.
source§

fn print_with(&self, options: Options) -> Printed<'_, Self>

Print the value with the given options.