Trait OwnedImage

Source
pub trait OwnedImage<F>:
    AsImageData<F>
    + ImageData<F>
    + Into<Vec<u8>> { }
Expand description

An image which can be moved into Vec<u8>.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<S, F> OwnedImage<F> for S
where S: AsImageData<F> + ImageData<F>, Vec<u8>: From<S>,