Type Definition json_syntax::NumberBuf
source · pub type NumberBuf = SmallNumberBuf<NUMBER_CAPACITY>;
Expand description
Number buffer.
Trait Implementations§
source§impl<M> Parse<M> for NumberBuf
impl<M> Parse<M> for NumberBuf
fn parse_spanned<C, F, E>( parser: &mut Parser<C, F, E>, context: Context ) -> Result<Meta<Self, Span>, Meta<Error<M, E>, M>>where C: Iterator<Item = Result<DecodedChar, E>>, F: FnMut(Span) -> M,
fn parse_str<F>( content: &str, metadata_builder: F ) -> Result<Meta<Self, M>, Meta<Error<M>, M>>where F: FnMut(Span) -> M,
fn parse_str_with<F>( content: &str, options: Options, metadata_builder: F ) -> Result<Meta<Self, M>, Meta<Error<M>, M>>where F: FnMut(Span) -> M,
fn parse_infallible_utf8<C, F>( chars: C, metadata_builder: F ) -> Result<Meta<Self, M>, Meta<Error<M>, M>>where C: Iterator<Item = char>, F: FnMut(Span) -> M,
fn parse_utf8_infallible_with<C, F>( chars: C, options: Options, metadata_builder: F ) -> Result<Meta<Self, M>, Meta<Error<M>, M>>where C: Iterator<Item = char>, F: FnMut(Span) -> M,
fn parse_utf8<C, F, E>( chars: C, metadata_builder: F ) -> Result<Meta<Self, M>, Meta<Error<M, E>, M>>where C: Iterator<Item = Result<char, E>>, F: FnMut(Span) -> M,
fn parse_utf8_with<C, F, E>( chars: C, options: Options, metadata_builder: F ) -> Result<Meta<Self, M>, Meta<Error<M, E>, M>>where C: Iterator<Item = Result<char, E>>, F: FnMut(Span) -> M,
fn parse_infallible<C, F>( chars: C, metadata_builder: F ) -> Result<Meta<Self, M>, Meta<Error<M>, M>>where C: Iterator<Item = DecodedChar>, F: FnMut(Span) -> M,
fn parse_infallible_with<C, F>( chars: C, options: Options, metadata_builder: F ) -> Result<Meta<Self, M>, Meta<Error<M>, M>>where C: Iterator<Item = DecodedChar>, F: FnMut(Span) -> M,
fn parse<C, F, E>( chars: C, metadata_builder: F ) -> Result<Meta<Self, M>, Meta<Error<M, E>, M>>where C: Iterator<Item = Result<DecodedChar, E>>, F: FnMut(Span) -> M,
fn parse_with<C, F, E>( chars: C, options: Options, metadata_builder: F ) -> Result<Meta<Self, M>, Meta<Error<M, E>, M>>where C: Iterator<Item = Result<DecodedChar, E>>, F: FnMut(Span) -> M,
fn parse_in<C, F, E>( parser: &mut Parser<C, F, E>, context: Context ) -> Result<Meta<Self, M>, Meta<Error<M, E>, M>>where C: Iterator<Item = Result<DecodedChar, E>>, F: FnMut(Span) -> M,
source§impl Print for NumberBuf
impl Print for NumberBuf
fn fmt_with( &self, f: &mut Formatter<'_>, _options: &Options, _indent: usize ) -> Result
source§fn pretty_print(&self) -> Printed<'_, Self>
fn pretty_print(&self) -> Printed<'_, Self>
Print the value with
Options::pretty
options.source§fn compact_print(&self) -> Printed<'_, Self>
fn compact_print(&self) -> Printed<'_, Self>
Print the value with
Options::compact
options.source§fn inline_print(&self) -> Printed<'_, Self>
fn inline_print(&self) -> Printed<'_, Self>
Print the value with
Options::inline
options.source§fn print_with(&self, options: Options) -> Printed<'_, Self>
fn print_with(&self, options: Options) -> Printed<'_, Self>
Print the value with the given options.