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
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 UnsafeUnpin for LineOrder
impl UnwindSafe for LineOrder
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for LineOrder
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for LineOrder
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for LineOrder
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for LineOrder
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for LineOrder
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for LineOrder
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for LineOrder
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Pointable for LineOrder
const ALIGN: usize = _;type Init = T;unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> Read<Exclusive, BecauseExclusive> for LineOrder
where
T: ?Sized,
impl<T> ToOwned for LineOrder
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for LineOrder
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for LineOrder
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for LineOrder
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>