Struct lcms2::Pipeline
[−]
pub struct Pipeline(_);
Methods
impl Pipeline
[src]
fn new(input_channels: usize, output_channels: usize) -> LCMSResult<Self>
Methods from Deref<Target = PipelineRef>
fn cat(&mut self, append: &PipelineRef) -> bool
fn stage_count(&self) -> usize
fn set_8bit(&mut self, on: bool) -> bool
fn input_channels(&self) -> usize
fn output_channels(&self) -> usize
fn eval<Value: FloatOrU16>(&self, input: &[Value], output: &mut [Value])
unsafe fn eval_unchecked<Value: FloatOrU16>(
&self,
input: &[Value],
output: &mut [Value]
)
&self,
input: &[Value],
output: &mut [Value]
)
Trait Implementations
impl ForeignType for Pipeline
type CType = Pipeline
The raw C type.
type Ref = PipelineRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut Pipeline) -> Pipeline
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut Pipeline
Returns a raw pointer to the wrapped value.
impl Drop for Pipeline
impl Deref for Pipeline
type Target = PipelineRef
The resulting type after dereferencing
fn deref(&self) -> &PipelineRef
The method called to dereference a value
impl DerefMut for Pipeline
fn deref_mut(&mut self) -> &mut PipelineRef
The method called to mutably dereference a value