pub struct DecodeUnit {
pub rect: Rect,
pub offset: u64,
pub length: u64,
}Expand description
An independently decodable unit of the payload.
Fields§
§rect: RectArea of the output buffer covered by this unit.
offset: u64Byte range of the compressed data in the source file (for range-request planning).
length: u64Length of the compressed data in bytes.
Trait Implementations§
Source§impl Clone for DecodeUnit
impl Clone for DecodeUnit
Source§impl Debug for DecodeUnit
impl Debug for DecodeUnit
Source§impl PartialEq for DecodeUnit
impl PartialEq for DecodeUnit
impl StructuralPartialEq for DecodeUnit
Auto Trait Implementations§
impl Freeze for DecodeUnit
impl RefUnwindSafe for DecodeUnit
impl Send for DecodeUnit
impl Sync for DecodeUnit
impl Unpin for DecodeUnit
impl UnsafeUnpin for DecodeUnit
impl UnwindSafe for DecodeUnit
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