Struct llvm_bitstream::parser::StreamParser[][src]

pub struct StreamParser<T: AsRef<[u8]>> { /* fields omitted */ }
Expand description

A parser for individual bitstream entries.

This structure is not a general-purpose parser for bitstream inputs: it expects to be given a prepared BitCursor whose internal state is correct (i.e., has been advanced past the initial input magic).

For a general-purpose parser with the correct state management, see Bitstream.

Implementations

Return the next StreamEntry in this bitstream.

Returns an error on any parsing error, or the special Error::Exhausted if the bitstream has been fully consumed.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.