Struct lcms2::PipelineRef
[−]
pub struct PipelineRef(_);
Pipelines are a convenient way to model complex operations on image data.
Each pipeline may contain an arbitrary number of stages. Each stage performs a single operation. Pipelines may be optimized to be executed on a certain format (8 bits, for example) and can be saved as LUTs in ICC profiles.
Methods
impl PipelineRef
[src]
pub fn cat(&mut self, append: &PipelineRef) -> bool
[src]
Appends pipeline given as argument at the end of this pipeline. Channel count must match.
pub fn stage_count(&self) -> usize
[src]
pub fn first_stage(&self) -> Option<&StageRef>
[src]
pub fn last_stage(&self) -> Option<&StageRef>
[src]
ⓘImportant traits for StagesIter<'a>pub fn stages(&self) -> StagesIter
[src]
ⓘImportant traits for StagesIter<'a>
pub fn set_8bit(&mut self, on: bool) -> bool
[src]
pub fn input_channels(&self) -> usize
[src]
pub fn output_channels(&self) -> usize
[src]
pub fn eval<Value: FloatOrU16>(&self, input: &[Value], output: &mut [Value])
[src]
pub unsafe fn eval_unchecked<Value: FloatOrU16>(
&self,
input: &[Value],
output: &mut [Value]
)
[src]
&self,
input: &[Value],
output: &mut [Value]
)
Trait Implementations
impl ToOwned for PipelineRef
type Owned = Pipeline
fn to_owned(&self) -> Pipeline
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)
[src]
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Borrow<PipelineRef> for Pipeline
fn borrow(&self) -> &PipelineRef
Immutably borrows from an owned value. Read more
impl AsRef<PipelineRef> for Pipeline
fn as_ref(&self) -> &PipelineRef
Performs the conversion.