Trait image::EncodableLayout[][src]

pub trait EncodableLayout: EncodableLayout {
    fn as_bytes(&self) -> &[u8]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
; }

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]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Get the bytes of this value.

Loading content...

Implementations on Foreign Types

impl EncodableLayout for [u8][src]

impl EncodableLayout for [u16][src]

Loading content...

Implementors

Loading content...