[][src]Trait ffimage::core::traits::CloneImage

pub trait CloneImage {
    type Output: ImageBuffer;
    fn clone_into(&self, output: &mut Self::Output);
fn clone(&self) -> Self::Output; }

Cloneable images

Associated Types

Loading content...

Required methods

fn clone_into(&self, output: &mut Self::Output)

Clone an image into an already existing buffer, avoiding reallocations if possible

fn clone(&self) -> Self::Output

Clone an image type (view or buffer) and return a buffer

Loading content...

Implementors

impl<'a, T: Pixel> CloneImage for GenericFlatBuffer<'a, T>[src]

type Output = GenericBuffer<T>

impl<'a, T: Pixel> CloneImage for GenericView<'a, T>[src]

type Output = GenericBuffer<T>

impl<T: Pixel> CloneImage for GenericBuffer<T>[src]

type Output = GenericBuffer<T>

Loading content...