Trait EncodableLayout
pub trait EncodableLayout: EncodableLayout
Types which are safe to treat as an immutable byte slice in a pixel layout for image encoding.
Required Methods
fn as_bytes(&self) -> &[u8]Get the bytes of this value.
Implementors
impl EncodableLayout for [f32]impl EncodableLayout for [u16]impl EncodableLayout for [u8]