pub struct Attr<T> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Parser<AttributeValue<EndianReader<LittleEndian, OwnedOrBorrowed>>> for Attr<AttributeValue<EndianReader<LittleEndian, OwnedOrBorrowed>>>
impl Parser<AttributeValue<EndianReader<LittleEndian, OwnedOrBorrowed>>> for Attr<AttributeValue<EndianReader<LittleEndian, OwnedOrBorrowed>>>
fn parse( &self, db: &dyn DwarfDb, entry: Die, ) -> Result<AttributeValue<EndianReader<LittleEndian, OwnedOrBorrowed>>>
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 Parser<Die> for Attr<Die>
impl Parser<Die> for Attr<Die>
fn parse(&self, db: &dyn DwarfDb, entry: Die) -> Result<Die>
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 Parser<DwLang> for Attr<DwLang>
impl Parser<DwLang> for Attr<DwLang>
fn parse(&self, db: &dyn DwarfDb, entry: Die) -> Result<DwLang>
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 Parser<Option<String>> for Attr<Option<String>>
impl Parser<Option<String>> for Attr<Option<String>>
fn parse(&self, db: &dyn DwarfDb, entry: Die) -> Result<Option<String>>
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 Parser<String> for Attr<String>
impl Parser<String> for Attr<String>
fn parse(&self, db: &dyn DwarfDb, entry: Die) -> Result<String>
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 Parser<i128> for Attr<i128>
impl Parser<i128> for Attr<i128>
fn parse(&self, db: &dyn DwarfDb, entry: Die) -> Result<i128>
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 Parser<i64> for Attr<i64>
impl Parser<i64> for Attr<i64>
fn parse(&self, db: &dyn DwarfDb, entry: Die) -> Result<i64>
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 Parser<u64> for Attr<u64>
impl Parser<u64> for Attr<u64>
fn parse(&self, db: &dyn DwarfDb, entry: Die) -> Result<u64>
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 Parser<usize> for Attr<usize>
impl Parser<usize> for Attr<usize>
fn parse(&self, db: &dyn DwarfDb, entry: Die) -> Result<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 Attr<T>
impl<T> RefUnwindSafe for Attr<T>where
T: RefUnwindSafe,
impl<T> Send for Attr<T>where
T: Send,
impl<T> Sync for Attr<T>where
T: Sync,
impl<T> Unpin for Attr<T>where
T: Unpin,
impl<T> UnwindSafe for Attr<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