pub struct TintLookupTable {
pub num_inputs: u32,
pub num_outputs: u32,
pub samples_per_dim: u32,
pub data: Vec<f32>,
}Expand description
Pre-sampled tint transform: maps input tint values to alt-space components.
Fields§
§num_inputs: u32Number of input components (1 for Separation, N for DeviceN).
num_outputs: u32Number of output components (matches alternative space: 1/3/4).
samples_per_dim: u32Number of samples per dimension.
data: Vec<f32>Flattened f32 data, row-major order. Length = samples_per_dim^num_inputs × num_outputs.
Implementations§
Trait Implementations§
Source§impl Clone for TintLookupTable
impl Clone for TintLookupTable
Source§fn clone(&self) -> TintLookupTable
fn clone(&self) -> TintLookupTable
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 moreAuto Trait Implementations§
impl Freeze for TintLookupTable
impl RefUnwindSafe for TintLookupTable
impl Send for TintLookupTable
impl Sync for TintLookupTable
impl Unpin for TintLookupTable
impl UnsafeUnpin for TintLookupTable
impl UnwindSafe for TintLookupTable
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