pub struct LinearTransform {
pub matrix: Vec<Vec<f64>>,
pub black_generation: Option<Vec<f64>>,
pub undercolor_removal: Option<Vec<f64>>,
}Expand description
Linear transform for simple DeviceN conversions
Fields§
§matrix: Vec<Vec<f64>>Transformation matrix [n_colorants x n_alternate_components]
black_generation: Option<Vec<f64>>Optional black generation function
undercolor_removal: Option<Vec<f64>>Optional undercolor removal function
Trait Implementations§
Source§impl Clone for LinearTransform
impl Clone for LinearTransform
Source§fn clone(&self) -> LinearTransform
fn clone(&self) -> LinearTransform
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 Debug for LinearTransform
impl Debug for LinearTransform
Source§impl PartialEq for LinearTransform
impl PartialEq for LinearTransform
impl StructuralPartialEq for LinearTransform
Auto Trait Implementations§
impl Freeze for LinearTransform
impl RefUnwindSafe for LinearTransform
impl Send for LinearTransform
impl Sync for LinearTransform
impl Unpin for LinearTransform
impl UnsafeUnpin for LinearTransform
impl UnwindSafe for LinearTransform
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