[−][src]Trait ilda_idtf::LayoutBuffer
A helper trait for producing and working with precisely sized buffers for IDTF layout.
A helper trait for producing and working with precisely sized buffers for IDTF layout.
type Buffer
fn empty() -> Self::Buffer
fn slice(buffer: &Self::Buffer) -> &[u8]
fn slice_mut(buffer: &mut Self::Buffer) -> &mut [u8]
impl LayoutBuffer for ColorPalette
[src]type Buffer = [u8; 3]
fn empty() -> Self::Buffer
[src]fn slice(buffer: &Self::Buffer) -> &[u8]
[src]fn slice_mut(buffer: &mut Self::Buffer) -> &mut [u8]
[src]impl LayoutBuffer for Coords2dIndexedColor
[src]type Buffer = [u8; 6]
fn empty() -> Self::Buffer
[src]fn slice(buffer: &Self::Buffer) -> &[u8]
[src]fn slice_mut(buffer: &mut Self::Buffer) -> &mut [u8]
[src]impl LayoutBuffer for Coords2dTrueColor
[src]type Buffer = [u8; 8]
fn empty() -> Self::Buffer
[src]fn slice(buffer: &Self::Buffer) -> &[u8]
[src]fn slice_mut(buffer: &mut Self::Buffer) -> &mut [u8]
[src]impl LayoutBuffer for Coords3dIndexedColor
[src]type Buffer = [u8; 8]
fn empty() -> Self::Buffer
[src]fn slice(buffer: &Self::Buffer) -> &[u8]
[src]fn slice_mut(buffer: &mut Self::Buffer) -> &mut [u8]
[src]impl LayoutBuffer for Coords3dTrueColor
[src]