pub trait EncodableLayout: EncodableLayout {
    fn as_bytes(&self) -> &[u8]Notable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8];
}
Expand description

Types which are safe to treat as an immutable byte slice in a pixel layout for image encoding.

Required Methods

Get the bytes of this value.

Implementations on Foreign Types

Implementors