Struct lcms2::PipelineRef
source · pub struct PipelineRef(/* private fields */);
Expand description
A borrowed reference to a Pipeline
.
Implementations§
source§impl PipelineRef
impl PipelineRef
sourcepub fn cat(&mut self, append: &PipelineRef) -> bool
pub fn cat(&mut self, append: &PipelineRef) -> bool
Appends pipeline given as argument at the end of this pipeline. Channel count must match.
pub fn stage_count(&self) -> usize
pub fn first_stage(&self) -> Option<&StageRef>
pub fn last_stage(&self) -> Option<&StageRef>
pub fn stages(&self) -> StagesIter<'_> ⓘ
pub fn set_8bit(&mut self, on: bool) -> bool
pub fn input_channels(&self) -> usize
pub fn output_channels(&self) -> usize
pub fn eval<Value: FloatOrU16>(&self, input: &[Value], output: &mut [Value])
pub unsafe fn eval_unchecked<Value: FloatOrU16>( &self, input: &[Value], output: &mut [Value] )
Trait Implementations§
source§impl Debug for PipelineRef
impl Debug for PipelineRef
source§impl ForeignTypeRef for PipelineRef
impl ForeignTypeRef for PipelineRef
Auto Trait Implementations§
impl !RefUnwindSafe for PipelineRef
impl !Send for PipelineRef
impl !Sync for PipelineRef
impl Unpin for PipelineRef
impl UnwindSafe for PipelineRef
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