pub struct Pipeline {
pub globals: PipelineGlobals,
pub ops: PipelineOps,
}
Fields
globals: PipelineGlobals
ops: PipelineOps
Implementations
sourceimpl Pipeline
impl Pipeline
pub fn new_cache(size: usize) -> PipelineCache
pub fn new_from_file<P: AsRef<Path>>(path: P) -> Result<Pipeline, String>
pub fn new_from_source(img: ImageSource) -> Result<Pipeline, String>
pub fn default_ops(&self) -> bool
pub fn to_serial(&self) -> String
pub fn new_from_serial(img: ImageSource, serial: String) -> Pipeline
pub fn run(&mut self, cache: Option<&PipelineCache>) -> Arc<OpBuffer>
pub fn output_8bit(
&mut self,
cache: Option<&PipelineCache>
) -> Result<SRGBImage, String>
pub fn output_16bit(
&mut self,
cache: Option<&PipelineCache>
) -> Result<SRGBImage16, String>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl UnwindSafe for Pipeline
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more