Struct jomini::BinaryTapeParser [−][src]
pub struct BinaryTapeParser<F> { /* fields omitted */ }
Expand description
Customizes how the binary tape is parsed from data
Implementations
Create a binary parser with a given flavor
Parse the binary format according to the parser’s flavor and return the data tape
pub fn parse_slice_into_tape<'a>(
self,
data: &'a [u8],
tape: &mut BinaryTape<'a>
) -> Result<(), Error>
pub fn parse_slice_into_tape<'a>(
self,
data: &'a [u8],
tape: &mut BinaryTape<'a>
) -> Result<(), Error>
Parse the binary format into the given tape according to the parser’s flavor.
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for BinaryTapeParser<F> where
F: RefUnwindSafe,
impl<F> Send for BinaryTapeParser<F> where
F: Send,
impl<F> Sync for BinaryTapeParser<F> where
F: Sync,
impl<F> Unpin for BinaryTapeParser<F> where
F: Unpin,
impl<F> UnwindSafe for BinaryTapeParser<F> where
F: UnwindSafe,