pub struct TableDirectoryEntry {
pub tag: u32,
pub offset: usize,
pub orig_length: u32,
pub transform_length: Option<u32>,
}Fields§
§tag: u32§offset: usize§orig_length: u32§transform_length: Option<u32>Implementations§
Source§impl TableDirectoryEntry
impl TableDirectoryEntry
Sourcepub fn read_table<'a>(
&self,
scope: &ReadScope<'a>,
) -> Result<ReadBuf<'a>, ParseError>
pub fn read_table<'a>( &self, scope: &ReadScope<'a>, ) -> Result<ReadBuf<'a>, ParseError>
Read the contents of a table entry
Trait Implementations§
Source§impl Clone for TableDirectoryEntry
impl Clone for TableDirectoryEntry
Source§fn clone(&self) -> TableDirectoryEntry
fn clone(&self) -> TableDirectoryEntry
Returns a duplicate 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 Debug for TableDirectoryEntry
impl Debug for TableDirectoryEntry
Source§impl PartialEq for TableDirectoryEntry
impl PartialEq for TableDirectoryEntry
Source§impl ReadBinaryDep for TableDirectoryEntry
impl ReadBinaryDep for TableDirectoryEntry
impl Copy for TableDirectoryEntry
impl Eq for TableDirectoryEntry
impl StructuralPartialEq for TableDirectoryEntry
Auto Trait Implementations§
impl Freeze for TableDirectoryEntry
impl RefUnwindSafe for TableDirectoryEntry
impl Send for TableDirectoryEntry
impl Sync for TableDirectoryEntry
impl Unpin for TableDirectoryEntry
impl UnwindSafe for TableDirectoryEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more