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

pub trait TryConvertSlice<O> {
    type Error: Debug;
    fn try_convert(&self, output: &mut [O]) -> Result<(), Self::Error>;
}

Convert into a slice of types

Associated Types

type Error: Debug

Loading content...

Required methods

fn try_convert(&self, output: &mut [O]) -> Result<(), Self::Error>

Converts the buffer into another, possibly with a different format

Loading content...

Implementations on Foreign Types

impl<SP: Pixel, DP: From<SP>> TryConvertSlice<DP> for [SP][src]

type Error = ()

Loading content...

Implementors

Loading content...