Struct chd::map::V5UncompressedMapEntry
source · pub struct V5UncompressedMapEntry<'a>(/* private fields */);
Expand description
A CHD V5 map entry for an uncompressed hunk.
Implementations§
source§impl V5UncompressedMapEntry<'_>
impl V5UncompressedMapEntry<'_>
sourcepub fn block_offset(&self) -> Result<u64>
pub fn block_offset(&self) -> Result<u64>
Returns the offset to the data of this hunk.
sourcepub fn block_size(&self) -> u32
pub fn block_size(&self) -> u32
Returns size of the hunk data. For an uncompressed hunk, this is equal to the hunk
size of the Chd
.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for V5UncompressedMapEntry<'a>
impl<'a> Send for V5UncompressedMapEntry<'a>
impl<'a> Sync for V5UncompressedMapEntry<'a>
impl<'a> Unpin for V5UncompressedMapEntry<'a>
impl<'a> UnwindSafe for V5UncompressedMapEntry<'a>
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