Parse

Trait Parse 

Source
pub trait Parse: Sized {
    // Required method
    fn parse(parser: &mut Parser<'_>) -> Result<Self, String>;
}

Required Methods§

Source

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Parse for bool

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for f32

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for f64

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for i8

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for i16

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for i32

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for i64

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for isize

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for u8

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for u16

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for u32

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for u64

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for usize

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for String

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for Object

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for BigInt

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl Parse for BigUint

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl<K: Parse + Eq + Hash, D: Parse> Parse for IndexMap<K, D>

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl<K: Parse, D: Parse> Parse for (K, D)

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl<T: Parse> Parse for Option<T>

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl<T: Parse> Parse for Box<T>

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl<T: Parse> Parse for Vec<T>

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl<T: Parse> Parse for Range<T>

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Source§

impl<T: Parse, const N: usize> Parse for [T; N]

Source§

fn parse(parser: &mut Parser<'_>) -> Result<Self, String>

Implementors§