pub struct TransformOptions {
pub intent: Intent,
pub bpc: bool,
pub precise_float: bool,
}Expand description
Options for building a Transform.
Fields§
§intent: Intent§bpc: boolAdobe-style black point compensation (ignored for absolute colorimetric).
precise_float: booltrue: float buffers go through the exact pipeline (default). false: float buffers use
the same lookup tables as integer buffers (faster, for previews).
Trait Implementations§
Source§impl Clone for TransformOptions
impl Clone for TransformOptions
impl Copy for TransformOptions
Source§impl Debug for TransformOptions
impl Debug for TransformOptions
Source§impl Default for TransformOptions
impl Default for TransformOptions
impl Eq for TransformOptions
Source§impl Hash for TransformOptions
impl Hash for TransformOptions
Source§impl PartialEq for TransformOptions
impl PartialEq for TransformOptions
impl StructuralPartialEq for TransformOptions
Auto Trait Implementations§
impl Forget for TransformOptions
impl Freeze for TransformOptions
impl Move for TransformOptions
impl RefUnwindSafe for TransformOptions
impl Send for TransformOptions
impl Sync for TransformOptions
impl Unpin for TransformOptions
impl UnsafeUnpin for TransformOptions
impl UnwindSafe for TransformOptions
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