Struct gimli::read::lookup::PubStuffParser
source · pub struct PubStuffParser<R, Entry>where
R: Reader,
Entry: PubStuffEntry<R>,{
phantom: PhantomData<(R, Entry)>,
}
Fields§
§phantom: PhantomData<(R, Entry)>
Trait Implementations§
source§impl<R, Entry> Clone for PubStuffParser<R, Entry>
impl<R, Entry> Clone for PubStuffParser<R, Entry>
source§fn clone(&self) -> PubStuffParser<R, Entry>
fn clone(&self) -> PubStuffParser<R, Entry>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<R, Entry> Debug for PubStuffParser<R, Entry>
impl<R, Entry> Debug for PubStuffParser<R, Entry>
source§impl<R, Entry> LookupParser<R> for PubStuffParser<R, Entry>where
R: Reader,
Entry: PubStuffEntry<R>,
impl<R, Entry> LookupParser<R> for PubStuffParser<R, Entry>where
R: Reader,
Entry: PubStuffEntry<R>,
source§fn parse_header(input: &mut R) -> Result<(R, Self::Header)>
fn parse_header(input: &mut R) -> Result<(R, Self::Header)>
Parse an pubthings set header. Returns a tuple of the pubthings to be parsed for this set, and the newly created PubThingHeader struct.
source§fn parse_entry(
input: &mut R,
header: &Self::Header,
) -> Result<Option<Self::Entry>>
fn parse_entry( input: &mut R, header: &Self::Header, ) -> Result<Option<Self::Entry>>
Parse a single pubthing. Return None
for the null pubthing, Some
for an actual pubthing.
§type Header = PubStuffHeader<<R as Reader>::Offset>
type Header = PubStuffHeader<<R as Reader>::Offset>
The type of the produced header.
Auto Trait Implementations§
impl<R, Entry> Freeze for PubStuffParser<R, Entry>
impl<R, Entry> RefUnwindSafe for PubStuffParser<R, Entry>where
R: RefUnwindSafe,
Entry: RefUnwindSafe,
impl<R, Entry> Send for PubStuffParser<R, Entry>
impl<R, Entry> Sync for PubStuffParser<R, Entry>
impl<R, Entry> Unpin for PubStuffParser<R, Entry>
impl<R, Entry> UnwindSafe for PubStuffParser<R, Entry>where
R: UnwindSafe,
Entry: 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