Type Definition json_syntax::NumberBuf
source · [−]pub type NumberBuf = SmallNumberBuf<NUMBER_CAPACITY>;
Expand description
Number buffer.
Trait Implementations
sourceimpl<F: Clone> Parse<F> for NumberBuf
impl<F: Clone> Parse<F> for NumberBuf
fn parse_in<E, C>(
parser: &mut Parser<F, E, C>,
context: Context
) -> Result<Loc<Self, F>, Loc<Error<E, F>, F>> where
C: Iterator<Item = Result<DecodedChar, E>>,
fn parse<E, C>(file: F, chars: C) -> Result<Loc<Self, F>, Loc<Error<E, F>, F>> where
C: Iterator<Item = Result<DecodedChar, E>>,
fn parse_with<E, C>(
file: F,
chars: C,
options: Options
) -> Result<Loc<Self, F>, Loc<Error<E, F>, F>> where
C: Iterator<Item = Result<DecodedChar, E>>,
sourceimpl Print for NumberBuf
impl Print for NumberBuf
fn fmt_with(
&self,
f: &mut Formatter<'_>,
_options: &Options,
_indent: usize
) -> Result
sourcefn pretty_print(&self) -> Printed<'_, Self>
fn pretty_print(&self) -> Printed<'_, Self>
Print the value with Options::pretty
options.
sourcefn compact_print(&self) -> Printed<'_, Self>
fn compact_print(&self) -> Printed<'_, Self>
Print the value with Options::compact
options.
sourcefn inline_print(&self) -> Printed<'_, Self>
fn inline_print(&self) -> Printed<'_, Self>
Print the value with Options::inline
options.
sourcefn print_with(&self, options: Options) -> Printed<'_, Self>
fn print_with(&self, options: Options) -> Printed<'_, Self>
Print the value with the given options.