Trait assembly_data::fdb::parser::ParseFDB[][src]

pub trait ParseFDB: Sized + Copy {
    type IO: ParseLE;
    fn new(i: Self::IO) -> Self;

    fn parse(input: &[u8]) -> IResult<&[u8], Self> { ... }
}
Expand description

Trait that implements parsing from a FDB file

Associated Types

The ParseLE compatible type that is equivalent to Self

Required methods

Create Self from an instance of IO

Provided methods

Parse an FDB structure from a input slice

This function chains ParseLE::parse with ParseFDB::new

Implementors