pub enum CompressedBytes {
Chunky(Bytes),
Planar(Vec<Bytes>),
}Expand description
Compressed tile data, either as a single chunk (chunky) or multiple chunks (planar).
Variants§
Chunky(Bytes)
Single compressed chunk for chunky (pixel-interleaved) format.
Planar(Vec<Bytes>)
Multiple compressed chunks, one per band, for planar (band-interleaved) format.
Trait Implementations§
Source§impl Clone for CompressedBytes
impl Clone for CompressedBytes
Source§fn clone(&self) -> CompressedBytes
fn clone(&self) -> CompressedBytes
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 moreAuto Trait Implementations§
impl !Freeze for CompressedBytes
impl RefUnwindSafe for CompressedBytes
impl Send for CompressedBytes
impl Sync for CompressedBytes
impl Unpin for CompressedBytes
impl UnsafeUnpin for CompressedBytes
impl UnwindSafe for CompressedBytes
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