pub struct JSONValueParser;
Trait Implementations§
Source§impl Parse for JSONValueParser
impl Parse for JSONValueParser
type Result = JSONValue
fn parse<'b>(&self, input: &'b str) -> ParseResult<'b, Self::Result>
fn run(&self, input: &str) -> Result<Self::Result, String>
fn and<U>(self, other: U) -> And<Self, U>where
U: Parse,
fn and_ref<'a, U>(&'a self, other: &'a U) -> AndRef<'a, Self, U>where
U: Parse,
fn or<U>(self, other: U) -> Or<Self, U>where
U: Parse,
fn or_ref<'a, U>(&'a self, other: &'a U) -> OrRef<'a, Self, U>where
U: Parse,
fn map<U, F>(self, f: F) -> Map<Self, F, U>
fn map_ref<'a, U, F>(&'a self, f: &'a F) -> MapRef<'a, Self, F, U>
fn zero_or_more(self) -> ZeroOrMoreOf<Self>
fn zero_or_more_ref<'a>(&'a self) -> ZeroOrMoreOfRef<'a, Self>
fn one_or_more(self) -> OneOrMoreOf<Self>
fn one_or_more_ref<'a>(&'a self) -> OneOrMoreOfRef<'a, Self>
fn drop<U>(self, other: U) -> Drop<Self, U>where
U: Parse,
fn drop_ref<'a, U>(&'a self, other: &'a U) -> DropRef<'a, Self, U>where
U: Parse,
fn keep<U>(self, other: U) -> Keep<Self, U>where
U: Parse,
fn keep_ref<'a, U>(&'a self, other: &'a U) -> KeepRef<'a, Self, U>where
U: Parse,
fn sbws(self) -> Sbws<Self>
fn sbws_ref<'a>(&'a self) -> SbwsRef<'a, Self>
fn sep_by(self, sep: char) -> SepBy<Self>
fn sep_by_ref<'a>(&'a self, sep: char) -> SepByRef<'a, Self>
fn parse_while<F>(self, f: F) -> ParseWhile<Self, F>
fn parse_while_ref<'a, F>(&'a self, f: &'a F) -> ParseWhileRef<'a, Self, F>
Auto Trait Implementations§
impl Freeze for JSONValueParser
impl RefUnwindSafe for JSONValueParser
impl Send for JSONValueParser
impl Sync for JSONValueParser
impl Unpin for JSONValueParser
impl UnwindSafe for JSONValueParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more