pub struct EnumNamedTupleVariant<T> { /* private fields */ }Trait Implementations§
Source§impl<'db, T0, P0> Parser<(Option<usize>, ((usize, T0),))> for EnumNamedTupleVariant<(P0,)>where
P0: Parser<T0>,
impl<'db, T0, P0> Parser<(Option<usize>, ((usize, T0),))> for EnumNamedTupleVariant<(P0,)>where
P0: Parser<T0>,
fn parse( &self, db: &dyn DwarfDb, entry: Die, ) -> Result<(Option<usize>, ((usize, 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<'db, T0, P0, T1, P1> Parser<(Option<usize>, ((usize, T0), (usize, T1)))> for EnumNamedTupleVariant<(P0, P1)>
impl<'db, T0, P0, T1, P1> Parser<(Option<usize>, ((usize, T0), (usize, T1)))> for EnumNamedTupleVariant<(P0, P1)>
fn parse( &self, db: &dyn DwarfDb, entry: Die, ) -> Result<(Option<usize>, ((usize, T0), (usize, 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<'db, T0, P0, T1, P1, T2, P2> Parser<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2)))> for EnumNamedTupleVariant<(P0, P1, P2)>
impl<'db, T0, P0, T1, P1, T2, P2> Parser<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2)))> for EnumNamedTupleVariant<(P0, P1, P2)>
fn parse( &self, db: &dyn DwarfDb, entry: Die, ) -> Result<(Option<usize>, ((usize, T0), (usize, T1), (usize, 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<'db, T0, P0, T1, P1, T2, P2, T3, P3> Parser<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3)))> for EnumNamedTupleVariant<(P0, P1, P2, P3)>
impl<'db, T0, P0, T1, P1, T2, P2, T3, P3> Parser<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3)))> for EnumNamedTupleVariant<(P0, P1, P2, P3)>
fn parse( &self, db: &dyn DwarfDb, entry: Die, ) -> Result<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, 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<'db, T0, P0, T1, P1, T2, P2, T3, P3, T4, P4> Parser<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3), (usize, T4)))> for EnumNamedTupleVariant<(P0, P1, P2, P3, P4)>
impl<'db, T0, P0, T1, P1, T2, P2, T3, P3, T4, P4> Parser<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3), (usize, T4)))> for EnumNamedTupleVariant<(P0, P1, P2, P3, P4)>
fn parse( &self, db: &dyn DwarfDb, entry: Die, ) -> Result<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3), (usize, 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<'db, T0, P0, T1, P1, T2, P2, T3, P3, T4, P4, T5, P5> Parser<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3), (usize, T4), (usize, T5)))> for EnumNamedTupleVariant<(P0, P1, P2, P3, P4, P5)>
impl<'db, T0, P0, T1, P1, T2, P2, T3, P3, T4, P4, T5, P5> Parser<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3), (usize, T4), (usize, T5)))> for EnumNamedTupleVariant<(P0, P1, P2, P3, P4, P5)>
fn parse( &self, db: &dyn DwarfDb, entry: Die, ) -> Result<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3), (usize, T4), (usize, 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<'db, T0, P0, T1, P1, T2, P2, T3, P3, T4, P4, T5, P5, T6, P6> Parser<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3), (usize, T4), (usize, T5), (usize, T6)))> for EnumNamedTupleVariant<(P0, P1, P2, P3, P4, P5, P6)>
impl<'db, T0, P0, T1, P1, T2, P2, T3, P3, T4, P4, T5, P5, T6, P6> Parser<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3), (usize, T4), (usize, T5), (usize, T6)))> for EnumNamedTupleVariant<(P0, P1, P2, P3, P4, P5, P6)>
fn parse( &self, db: &dyn DwarfDb, entry: Die, ) -> Result<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3), (usize, T4), (usize, T5), (usize, 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<'db, T0, P0, T1, P1, T2, P2, T3, P3, T4, P4, T5, P5, T6, P6, T7, P7> Parser<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3), (usize, T4), (usize, T5), (usize, T6), (usize, T7)))> for EnumNamedTupleVariant<(P0, P1, P2, P3, P4, P5, P6, P7)>
impl<'db, T0, P0, T1, P1, T2, P2, T3, P3, T4, P4, T5, P5, T6, P6, T7, P7> Parser<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3), (usize, T4), (usize, T5), (usize, T6), (usize, T7)))> for EnumNamedTupleVariant<(P0, P1, P2, P3, P4, P5, P6, P7)>
fn parse( &self, db: &dyn DwarfDb, entry: Die, ) -> Result<(Option<usize>, ((usize, T0), (usize, T1), (usize, T2), (usize, T3), (usize, T4), (usize, T5), (usize, T6), (usize, 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>
Source§impl<'db> Parser<(Option<usize>, ())> for EnumNamedTupleVariant<()>
impl<'db> Parser<(Option<usize>, ())> for EnumNamedTupleVariant<()>
fn parse(&self, db: &dyn DwarfDb, entry: Die) -> Result<(Option<usize>, ())>
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 EnumNamedTupleVariant<T>where
T: Freeze,
impl<T> RefUnwindSafe for EnumNamedTupleVariant<T>where
T: RefUnwindSafe,
impl<T> Send for EnumNamedTupleVariant<T>where
T: Send,
impl<T> Sync for EnumNamedTupleVariant<T>where
T: Sync,
impl<T> Unpin for EnumNamedTupleVariant<T>where
T: Unpin,
impl<T> UnwindSafe for EnumNamedTupleVariant<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