[−][src]Struct gobble::ptrait::As
Trait Implementations
impl<A: Parser<AV>, AV, R: Clone> Parser<R> for As<A, AV, R>
[src]
fn parse<'a>(&self, it: &LCChars<'a>) -> ParseRes<'a, R>
[src]
fn parse_s(&self, s: &str) -> Result<V, ParseError>
[src]
fn parse_sn<'a>(&self, s: &'a str) -> Result<(&'a str, V), ParseError>
[src]
fn then<P: Parser<V2>, V2>(self, p: P) -> Then<Self, P>
[src]
fn then_ig<P: Parser<V2>, V2>(self, p: P) -> ThenIg<Self, P, V, V2>
[src]
fn ig_then<P: Parser<V2>, V2>(self, p: P) -> IgThen<Self, P, V, V2>
[src]
fn or<P: Parser<V>>(self, p: P) -> Or<Self, P>
[src]
fn map<F: Fn(V) -> V2, V2>(self, f: F) -> Map<Self, V, V2, F>
[src]
fn try_map<F: Fn(V) -> Result<V2, ECode>, V2>(
self,
f: F
) -> TryMap<Self, V, V2, F>
[src]
self,
f: F
) -> TryMap<Self, V, V2, F>
fn asv<R: Clone>(self, r: R) -> As<Self, V, R>
[src]
fn map_err<F: Fn(ECode) -> ECode>(self, f: F) -> MapErr<Self, V, F>
[src]
fn brk(self) -> Break<Self, V>
[src]
Auto Trait Implementations
impl<A, AV, R> RefUnwindSafe for As<A, AV, R> where
A: RefUnwindSafe,
AV: RefUnwindSafe,
R: RefUnwindSafe,
A: RefUnwindSafe,
AV: RefUnwindSafe,
R: RefUnwindSafe,
impl<A, AV, R> Send for As<A, AV, R> where
A: Send,
AV: Send,
R: Send,
A: Send,
AV: Send,
R: Send,
impl<A, AV, R> Sync for As<A, AV, R> where
A: Sync,
AV: Sync,
R: Sync,
A: Sync,
AV: Sync,
R: Sync,
impl<A, AV, R> Unpin for As<A, AV, R> where
A: Unpin,
AV: Unpin,
R: Unpin,
A: Unpin,
AV: Unpin,
R: Unpin,
impl<A, AV, R> UnwindSafe for As<A, AV, R> where
A: UnwindSafe,
AV: UnwindSafe,
R: UnwindSafe,
A: UnwindSafe,
AV: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<V, F> Parser<V> for F where
F: for<'a> Fn(&LCChars<'a>) -> Result<(LCChars<'a>, V), ParseError>,
[src]
F: for<'a> Fn(&LCChars<'a>) -> Result<(LCChars<'a>, V), ParseError>,
fn parse(&Self, &LCChars<'b>) -> Result<(LCChars<'b>, V), ParseError>
[src]
fn parse_s(&self, s: &str) -> Result<V, ParseError>
[src]
fn parse_sn<'a>(&self, s: &'a str) -> Result<(&'a str, V), ParseError>
[src]
fn then<P: Parser<V2>, V2>(self, p: P) -> Then<Self, P>
[src]
fn then_ig<P: Parser<V2>, V2>(self, p: P) -> ThenIg<Self, P, V, V2>
[src]
fn ig_then<P: Parser<V2>, V2>(self, p: P) -> IgThen<Self, P, V, V2>
[src]
fn or<P: Parser<V>>(self, p: P) -> Or<Self, P>
[src]
fn map<F: Fn(V) -> V2, V2>(self, f: F) -> Map<Self, V, V2, F>
[src]
fn try_map<F: Fn(V) -> Result<V2, ECode>, V2>(
self,
f: F
) -> TryMap<Self, V, V2, F>
[src]
self,
f: F
) -> TryMap<Self, V, V2, F>
fn asv<R: Clone>(self, r: R) -> As<Self, V, R>
[src]
fn map_err<F: Fn(ECode) -> ECode>(self, f: F) -> MapErr<Self, V, F>
[src]
fn brk(self) -> Break<Self, V>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,