pub trait ImageStoreScaling<'b, T, const N: usize>{
// 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§
fn scale( &self, store: &mut ImageStoreMut<'b, T, N>, options: ScalingOptions, ) -> Result<(), PicScaleError>
Implementors§
impl<'b> ImageStoreScaling<'b, f16, 1> for PlanarF16ImageStore<'b>
Available on crate feature
nightly_f16
only.impl<'b> ImageStoreScaling<'b, f16, 2> for CbCrF16ImageStore<'b>
Available on crate feature
nightly_f16
only.impl<'b> ImageStoreScaling<'b, f16, 3> for RgbF16ImageStore<'b>
Available on crate feature
nightly_f16
only.impl<'b> ImageStoreScaling<'b, f16, 4> for RgbaF16ImageStore<'b>
Available on crate feature
nightly_f16
only.