ImageStoreScaling

Trait ImageStoreScaling 

Source
pub trait ImageStoreScaling<'b, T, const N: usize>
where T: Clone + Copy + Debug,
{ // Required method fn scale( &self, store: &mut ImageStoreMut<'b, T, N>, options: ScalingOptions, ) -> Result<(), PicScaleError>; }
Expand description

Generic trait for ImageStore to implement abstract scaling.

Required Methods§

Source

fn scale( &self, store: &mut ImageStoreMut<'b, T, N>, options: ScalingOptions, ) -> Result<(), PicScaleError>

Implementors§

Source§

impl<'b> ImageStoreScaling<'b, f16, 1> for PlanarF16ImageStore<'b>

Available on crate feature nightly_f16 only.
Source§

impl<'b> ImageStoreScaling<'b, f16, 2> for CbCrF16ImageStore<'b>

Available on crate feature nightly_f16 only.
Source§

impl<'b> ImageStoreScaling<'b, f16, 3> for RgbF16ImageStore<'b>

Available on crate feature nightly_f16 only.
Source§

impl<'b> ImageStoreScaling<'b, f16, 4> for RgbaF16ImageStore<'b>

Available on crate feature nightly_f16 only.
Source§

impl<'b> ImageStoreScaling<'b, f32, 1> for PlanarF32ImageStore<'b>

Source§

impl<'b> ImageStoreScaling<'b, f32, 2> for CbCrF32ImageStore<'b>

Source§

impl<'b> ImageStoreScaling<'b, f32, 3> for RgbF32ImageStore<'b>

Source§

impl<'b> ImageStoreScaling<'b, f32, 4> for RgbaF32ImageStore<'b>

Source§

impl<'b> ImageStoreScaling<'b, u8, 1> for Planar8ImageStore<'b>

Source§

impl<'b> ImageStoreScaling<'b, u8, 2> for CbCr8ImageStore<'b>

Source§

impl<'b> ImageStoreScaling<'b, u8, 3> for Rgb8ImageStore<'b>

Source§

impl<'b> ImageStoreScaling<'b, u8, 4> for Rgba8ImageStore<'b>

Source§

impl<'b> ImageStoreScaling<'b, u16, 1> for Planar16ImageStore<'b>

Source§

impl<'b> ImageStoreScaling<'b, u16, 2> for CbCr16ImageStore<'b>

Source§

impl<'b> ImageStoreScaling<'b, u16, 3> for Rgb16ImageStore<'b>

Source§

impl<'b> ImageStoreScaling<'b, u16, 4> for Rgba16ImageStore<'b>