Enum LineOrder
pub enum LineOrder
In what order the Blocks 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::Unspecifiedfor 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::Unspecifiedfor 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
impl LineOrder
const fn byte_size() -> usizeNumber of bytes this would consume in an exr file.
fn write<W: Write>(self, write: &mut W) -> UnitResultWithout validation, write this instance to the byte stream.
fn read<R: Read>(read: &mut R) -> Result<Self>Read the value without validating.
Trait Implementations
impl Clone for LineOrder
fn clone(&self) -> Self
impl Copy for LineOrder
impl Debug for LineOrder
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for LineOrder
impl Hash for LineOrder
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for LineOrder
fn eq(&self, other: &Self) -> bool