Trait EncodableLayout
pub trait EncodableLayout: EncodableLayout {
// Required method
fn as_bytes(&self) -> &[u8] ⓘ;
}
Available on crate feature
dep_image
only.Expand description
Types which are safe to treat as an immutable byte slice in a pixel layout for image encoding.