Trait machine_vision_formats::AsImageData

source ·
pub trait AsImageData<F>: ImageData<F> {
    // Required method
    fn as_image_data(&self) -> &dyn ImageData<F>;
}
Expand description

Can be converted into ImageData.

Required Methods§

source

fn as_image_data(&self) -> &dyn ImageData<F>

Implementors§

source§

impl<S: ImageData<F>, F> AsImageData<F> for S