pub struct TagDataBlock {
pub entry_size: u32,
padding: u16,
pub section_type: TagSectionType,
pub offset: u64,
}
Expand description
Tag data metadata block containing data on where the binary section is located.
Fields§
§entry_size: u32
The size of the data block entry in bytes.
padding: u16
How many unused bytes come before the offset.
section_type: TagSectionType
Where the data block is stored.
offset: u64
Offset of where the data is stored from the start of the tag file.
Implementations§
Source§impl TagDataBlock
impl TagDataBlock
pub(crate) fn get_offset(&self, tag_info: &TagFile) -> u64
Trait Implementations§
Source§impl Debug for TagDataBlock
impl Debug for TagDataBlock
Source§impl Default for TagDataBlock
impl Default for TagDataBlock
Source§fn default() -> TagDataBlock
fn default() -> TagDataBlock
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TagDataBlock
impl RefUnwindSafe for TagDataBlock
impl Send for TagDataBlock
impl Sync for TagDataBlock
impl Unpin for TagDataBlock
impl UnwindSafe for TagDataBlock
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