pub struct Hff { /* private fields */ }
Expand description
The Hff structure data. This is an immutable representation of the content of an Hff stream.
Implementations§
source§impl Hff
impl Hff
sourcepub fn new(tables: impl Into<Vec<Table>>, chunks: impl Into<Vec<Chunk>>) -> Self
pub fn new(tables: impl Into<Vec<Table>>, chunks: impl Into<Vec<Chunk>>) -> Self
Create a new Hff wrapper.
sourcepub fn offset_to_data(&self) -> usize
pub fn offset_to_data(&self) -> usize
Get the offset from the start of the file to the start of the chunk data.
sourcepub fn depth_first(&self) -> DepthFirstIter<'_> ⓘ
pub fn depth_first(&self) -> DepthFirstIter<'_> ⓘ
Get an iterator over the tables in depth first order.
Trait Implementations§
impl StructuralPartialEq for Hff
Auto Trait Implementations§
impl RefUnwindSafe for Hff
impl Send for Hff
impl Sync for Hff
impl Unpin for Hff
impl UnwindSafe for Hff
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