pub enum LineOrder {
Increasing,
Decreasing,
Unspecified,
}
Expand description
In what order the Block
s of pixel data appear in a file.
Variants§
Increasing
The blocks in the file are ordered in descending rows from left to right.
When compressing in parallel, this option requires potentially large amounts of memory.
In that case, use LineOrder::Unspecified
for best performance.
Decreasing
The blocks in the file are ordered in ascending rows from right to left.
When compressing in parallel, this option requires potentially large amounts of memory.
In that case, use LineOrder::Unspecified
for best performance.
Unspecified
The blocks are not ordered in a specific way inside the file. In multi-core file writing, this option offers the best performance.
Implementations§
Trait Implementations§
impl Copy for LineOrder
impl Eq for LineOrder
impl StructuralPartialEq for LineOrder
Auto Trait Implementations§
impl Freeze for LineOrder
impl RefUnwindSafe for LineOrder
impl Send for LineOrder
impl Sync for LineOrder
impl Unpin for LineOrder
impl UnwindSafe for LineOrder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)