[−][src]Struct lcms2::Flags
Flags for creating Transform
. Can be OR-ed together with |
.
There's a special NO_CACHE
flag that enables sharing transform between threads.
Methods
impl Flags
[src]
pub const NO_CACHE: Flags<DisallowCache>
[src]
Inhibit 1-pixel cache. This is required to make Transform
implement Sync
pub const NO_OPTIMIZE: Flags
[src]
Inhibit optimizations
pub const NULL_TRANSFORM: Flags
[src]
Don't transform anyway
pub const GAMUT_CHECK: Flags
[src]
Proofing flags Out of Gamut alarm
pub const SOFT_PROOFING: Flags
[src]
Do softproofing
pub const BLACKPOINT_COMPENSATION: Flags
[src]
pub const NO_WHITE_ON_WHITE_FIXUP: Flags
[src]
Don't fix scum dot
pub const HIGHRES_PRECALC: Flags
[src]
Use more memory to give better accurancy
pub const LOWRES_PRECALC: Flags
[src]
Use less memory to minimize resources
pub const DEVICELINK_8BITS: Flags
[src]
For devicelink creation Create 8 bits devicelinks
pub const GUESS_DEVICE_CLASS: Flags
[src]
Guess device class (for transform2devicelink)
pub const KEEP_SEQUENCE: Flags
[src]
Keep profile sequence for devicelink creation
pub const FORCE_CLUT: Flags
[src]
Specific to a particular optimizations Force CLUT optimization
pub const CLUT_POST_LINEARIZATION: Flags
[src]
create postlinearization tables if possible
pub const CLUT_PRE_LINEARIZATION: Flags
[src]
create prelinearization tables if possible
pub const NO_NEGATIVES: Flags
[src]
Specific to unbounded mode Prevent negative numbers in floating point transforms
pub const COPY_ALPHA: Flags
[src]
Alpha channels are copied on cmsDoTransform()
pub const NO_DEFAULT_RESOURCE_DEF: Flags
[src]
CRD special
impl<T: CacheFlag> Flags<T>
[src]
Trait Implementations
impl<T: Copy + CacheFlag> Copy for Flags<T>
[src]
impl Default for Flags
[src]
fn default() -> Self
[src]
Default flags
By default allows non-thread-safe cache, which improves performance, but limits transforms to use by one thread only.
impl<T: Clone + CacheFlag> Clone for Flags<T>
[src]
fn clone(&self) -> Flags<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: CacheFlag> BitOr<Flags<T>> for Flags<DisallowCache>
[src]
type Output = Flags<DisallowCache>
The resulting type after applying the |
operator.
fn bitor(self, other: Flags<T>) -> Flags<DisallowCache>
[src]
impl<T: CacheFlag> BitOr<Flags<T>> for Flags<AllowCache>
[src]
type Output = Flags<T>
The resulting type after applying the |
operator.
fn bitor(self, other: Flags<T>) -> Flags<T>
[src]
impl<T: Debug + CacheFlag> Debug for Flags<T>
[src]
Auto Trait Implementations
impl<T> Send for Flags<T> where
T: Send,
T: Send,
impl<T> Unpin for Flags<T> where
T: Unpin,
T: Unpin,
impl<T> Sync for Flags<T> where
T: Sync,
T: Sync,
impl<T> UnwindSafe for Flags<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for Flags<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,