pub struct IccCacheOptions {
pub bpc_mode: BpcMode,
pub source_cmyk_profile: Option<Vec<u8>>,
}Expand description
Construction-time options for IccCache.
Bundles together the BPC mode and an optional pre-supplied source CMYK
profile (overriding the automatic system-profile search). Created via
IccCache::new_with_options.
Fields§
§bpc_mode: BpcModeBPC mode for CMYK→sRGB conversion.
source_cmyk_profile: Option<Vec<u8>>Raw bytes of a source CMYK profile to register as the system profile.
When None, the cache is created empty and the caller is responsible
for invoking IccCache::search_system_cmyk_profile (or providing
bytes some other way).
Trait Implementations§
Source§impl Clone for IccCacheOptions
impl Clone for IccCacheOptions
Source§fn clone(&self) -> IccCacheOptions
fn clone(&self) -> IccCacheOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for IccCacheOptions
impl Default for IccCacheOptions
Source§fn default() -> IccCacheOptions
fn default() -> IccCacheOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IccCacheOptions
impl RefUnwindSafe for IccCacheOptions
impl Send for IccCacheOptions
impl Sync for IccCacheOptions
impl Unpin for IccCacheOptions
impl UnsafeUnpin for IccCacheOptions
impl UnwindSafe for IccCacheOptions
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