Struct lcms2::Pipeline
[−]
pub struct Pipeline(_);
This is an owned version of PipelineRef
.
Methods
impl Pipeline
[src]
pub fn new(input_channels: usize, output_channels: usize) -> LCMSResult<Self>
[src]
Allocates an empty pipeline. Final Input and output channels must be specified at creation time.
Methods from Deref<Target = PipelineRef>
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 Drop for Pipeline
impl Clone for Pipeline
fn clone(&self) -> Pipeline
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Deref for Pipeline
type Target = PipelineRef
The resulting type after dereferencing.
fn deref(&self) -> &PipelineRef
Dereferences the value.
impl DerefMut for Pipeline
fn deref_mut(&mut self) -> &mut PipelineRef
Mutably dereferences the value.
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.