[][src]Struct imagepipe::Pipeline

pub struct Pipeline {
    pub globals: PipelineGlobals,
    pub ops: PipelineOps,
}

Fields

globals: PipelineGlobalsops: PipelineOps

Methods

impl Pipeline[src]

pub fn new_cache(size: usize) -> PipelineCache[src]

pub fn new_from_file<P: AsRef<Path>>(
    path: P,
    maxwidth: usize,
    maxheight: usize,
    linear: bool
) -> Result<Pipeline, String>
[src]

pub fn new_from_rawimage(
    img: RawImage,
    maxwidth: usize,
    maxheight: usize,
    linear: bool
) -> Result<Pipeline, String>
[src]

pub fn to_serial(&self) -> String[src]

pub fn new_from_serial(
    img: RawImage,
    maxwidth: usize,
    maxheight: usize,
    linear: bool,
    serial: String
) -> Pipeline
[src]

pub fn run(&mut self, cache: Option<&PipelineCache>) -> Arc<OpBuffer>[src]

pub fn output_8bit(
    &mut self,
    cache: Option<&PipelineCache>
) -> Result<SRGBImage, String>
[src]

Trait Implementations

impl Debug for Pipeline[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.