pub struct All<T> { /* private fields */ }Trait Implementations§
Source§impl Parser<()> for All<()>
impl Parser<()> for All<()>
fn parse(&self, _db: &dyn DwarfDb, _entry: Die) -> Result<()>
Source§fn and<U, P>(self, other: P) -> And<Self, P, T, U>
fn and<U, P>(self, other: P) -> And<Self, P, T, U>
Combine this parser with another, applying both and combining results
Source§fn filter(self) -> Filter<Self>where
Self: Sized,
fn filter(self) -> Filter<Self>where
Self: Sized,
Turns the input into an optional output
if the provided parser succeeds
fn map_with_entry<U, F>(self, f: F) -> MapWithDbAndEntry<Self, F, T>
Source§impl<T0, P0> Parser<(T0,)> for All<(P0,)>where
P0: Parser<T0>,
impl<T0, P0> Parser<(T0,)> for All<(P0,)>where
P0: Parser<T0>,
fn parse(&self, _db: &dyn DwarfDb, _entry: Die) -> Result<(T0,)>
Source§fn and<U, P>(self, other: P) -> And<Self, P, T, U>
fn and<U, P>(self, other: P) -> And<Self, P, T, U>
Combine this parser with another, applying both and combining results
Source§fn filter(self) -> Filter<Self>where
Self: Sized,
fn filter(self) -> Filter<Self>where
Self: Sized,
Turns the input into an optional output
if the provided parser succeeds
fn map_with_entry<U, F>(self, f: F) -> MapWithDbAndEntry<Self, F, T>
Source§impl<T0, P0, T1, P1> Parser<(T0, T1)> for All<(P0, P1)>
impl<T0, P0, T1, P1> Parser<(T0, T1)> for All<(P0, P1)>
fn parse(&self, _db: &dyn DwarfDb, _entry: Die) -> Result<(T0, T1)>
Source§fn and<U, P>(self, other: P) -> And<Self, P, T, U>
fn and<U, P>(self, other: P) -> And<Self, P, T, U>
Combine this parser with another, applying both and combining results
Source§fn filter(self) -> Filter<Self>where
Self: Sized,
fn filter(self) -> Filter<Self>where
Self: Sized,
Turns the input into an optional output
if the provided parser succeeds
fn map_with_entry<U, F>(self, f: F) -> MapWithDbAndEntry<Self, F, T>
Source§impl<T0, P0, T1, P1, T2, P2> Parser<(T0, T1, T2)> for All<(P0, P1, P2)>
impl<T0, P0, T1, P1, T2, P2> Parser<(T0, T1, T2)> for All<(P0, P1, P2)>
fn parse(&self, _db: &dyn DwarfDb, _entry: Die) -> Result<(T0, T1, T2)>
Source§fn and<U, P>(self, other: P) -> And<Self, P, T, U>
fn and<U, P>(self, other: P) -> And<Self, P, T, U>
Combine this parser with another, applying both and combining results
Source§fn filter(self) -> Filter<Self>where
Self: Sized,
fn filter(self) -> Filter<Self>where
Self: Sized,
Turns the input into an optional output
if the provided parser succeeds
fn map_with_entry<U, F>(self, f: F) -> MapWithDbAndEntry<Self, F, T>
Source§impl<T0, P0, T1, P1, T2, P2, T3, P3> Parser<(T0, T1, T2, T3)> for All<(P0, P1, P2, P3)>
impl<T0, P0, T1, P1, T2, P2, T3, P3> Parser<(T0, T1, T2, T3)> for All<(P0, P1, P2, P3)>
fn parse(&self, _db: &dyn DwarfDb, _entry: Die) -> Result<(T0, T1, T2, T3)>
Source§fn and<U, P>(self, other: P) -> And<Self, P, T, U>
fn and<U, P>(self, other: P) -> And<Self, P, T, U>
Combine this parser with another, applying both and combining results
Source§fn filter(self) -> Filter<Self>where
Self: Sized,
fn filter(self) -> Filter<Self>where
Self: Sized,
Turns the input into an optional output
if the provided parser succeeds
fn map_with_entry<U, F>(self, f: F) -> MapWithDbAndEntry<Self, F, T>
Source§impl<T0, P0, T1, P1, T2, P2, T3, P3, T4, P4> Parser<(T0, T1, T2, T3, T4)> for All<(P0, P1, P2, P3, P4)>
impl<T0, P0, T1, P1, T2, P2, T3, P3, T4, P4> Parser<(T0, T1, T2, T3, T4)> for All<(P0, P1, P2, P3, P4)>
fn parse(&self, _db: &dyn DwarfDb, _entry: Die) -> Result<(T0, T1, T2, T3, T4)>
Source§fn and<U, P>(self, other: P) -> And<Self, P, T, U>
fn and<U, P>(self, other: P) -> And<Self, P, T, U>
Combine this parser with another, applying both and combining results
Source§fn filter(self) -> Filter<Self>where
Self: Sized,
fn filter(self) -> Filter<Self>where
Self: Sized,
Turns the input into an optional output
if the provided parser succeeds
fn map_with_entry<U, F>(self, f: F) -> MapWithDbAndEntry<Self, F, T>
Source§impl<T0, P0, T1, P1, T2, P2, T3, P3, T4, P4, T5, P5> Parser<(T0, T1, T2, T3, T4, T5)> for All<(P0, P1, P2, P3, P4, P5)>
impl<T0, P0, T1, P1, T2, P2, T3, P3, T4, P4, T5, P5> Parser<(T0, T1, T2, T3, T4, T5)> for All<(P0, P1, P2, P3, P4, P5)>
fn parse( &self, _db: &dyn DwarfDb, _entry: Die, ) -> Result<(T0, T1, T2, T3, T4, T5)>
Source§fn and<U, P>(self, other: P) -> And<Self, P, T, U>
fn and<U, P>(self, other: P) -> And<Self, P, T, U>
Combine this parser with another, applying both and combining results
Source§fn filter(self) -> Filter<Self>where
Self: Sized,
fn filter(self) -> Filter<Self>where
Self: Sized,
Turns the input into an optional output
if the provided parser succeeds
fn map_with_entry<U, F>(self, f: F) -> MapWithDbAndEntry<Self, F, T>
Source§impl<T0, P0, T1, P1, T2, P2, T3, P3, T4, P4, T5, P5, T6, P6> Parser<(T0, T1, T2, T3, T4, T5, T6)> for All<(P0, P1, P2, P3, P4, P5, P6)>
impl<T0, P0, T1, P1, T2, P2, T3, P3, T4, P4, T5, P5, T6, P6> Parser<(T0, T1, T2, T3, T4, T5, T6)> for All<(P0, P1, P2, P3, P4, P5, P6)>
fn parse( &self, _db: &dyn DwarfDb, _entry: Die, ) -> Result<(T0, T1, T2, T3, T4, T5, T6)>
Source§fn and<U, P>(self, other: P) -> And<Self, P, T, U>
fn and<U, P>(self, other: P) -> And<Self, P, T, U>
Combine this parser with another, applying both and combining results
Source§fn filter(self) -> Filter<Self>where
Self: Sized,
fn filter(self) -> Filter<Self>where
Self: Sized,
Turns the input into an optional output
if the provided parser succeeds
fn map_with_entry<U, F>(self, f: F) -> MapWithDbAndEntry<Self, F, T>
Source§impl<T0, P0, T1, P1, T2, P2, T3, P3, T4, P4, T5, P5, T6, P6, T7, P7> Parser<(T0, T1, T2, T3, T4, T5, T6, T7)> for All<(P0, P1, P2, P3, P4, P5, P6, P7)>
impl<T0, P0, T1, P1, T2, P2, T3, P3, T4, P4, T5, P5, T6, P6, T7, P7> Parser<(T0, T1, T2, T3, T4, T5, T6, T7)> for All<(P0, P1, P2, P3, P4, P5, P6, P7)>
fn parse( &self, _db: &dyn DwarfDb, _entry: Die, ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7)>
Source§fn and<U, P>(self, other: P) -> And<Self, P, T, U>
fn and<U, P>(self, other: P) -> And<Self, P, T, U>
Combine this parser with another, applying both and combining results
Source§fn filter(self) -> Filter<Self>where
Self: Sized,
fn filter(self) -> Filter<Self>where
Self: Sized,
Turns the input into an optional output
if the provided parser succeeds
fn map_with_entry<U, F>(self, f: F) -> MapWithDbAndEntry<Self, F, T>
Auto Trait Implementations§
impl<T> Freeze for All<T>where
T: Freeze,
impl<T> RefUnwindSafe for All<T>where
T: RefUnwindSafe,
impl<T> Send for All<T>where
T: Send,
impl<T> Sync for All<T>where
T: Sync,
impl<T> Unpin for All<T>where
T: Unpin,
impl<T> UnwindSafe for All<T>where
T: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more