Trait image::EncodableLayout[][src]

pub trait EncodableLayout: EncodableLayout {
    fn as_bytes(&self) -> &[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