Trait DisplaySpec

Source
pub trait DisplaySpec {
    type Framebuffer: FramebufferType;

    const WIDTH: u16;
    const HEIGHT: u16;
}
Expand description

Specification for displays.

Required Associated Constants§

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl DisplaySpec for LPM009M360A

Source§

const WIDTH: u16 = 72u16

Source§

const HEIGHT: u16 = 144u16

Source§

type Framebuffer = Framebuffer4Bit<{ Self::WIDTH }, { Self::HEIGHT }>

Source§

impl DisplaySpec for LPM009M360A<BinaryColor>

Source§

const WIDTH: u16 = 72u16

Source§

const HEIGHT: u16 = 144u16

Source§

type Framebuffer = FramebufferBW<{ Self::WIDTH }, { Self::HEIGHT }, JDI>

Source§

impl DisplaySpec for LPM013M126A

Source§

const WIDTH: u16 = 176u16

Source§

const HEIGHT: u16 = 176u16

Source§

type Framebuffer = Framebuffer4Bit<{ Self::WIDTH }, { Self::HEIGHT }>

Source§

impl DisplaySpec for LPM013M126A<BinaryColor>

Source§

const WIDTH: u16 = 176u16

Source§

const HEIGHT: u16 = 176u16

Source§

type Framebuffer = FramebufferBW<{ Self::WIDTH }, { Self::HEIGHT }, JDI>

Source§

impl DisplaySpec for LS006B7DH01

Source§

const WIDTH: u16 = 64u16

Source§

const HEIGHT: u16 = 64u16

Source§

type Framebuffer = FramebufferBW<{ Self::WIDTH }, { Self::HEIGHT }, Sharp>

Source§

impl DisplaySpec for LS013B7DH03

Source§

const WIDTH: u16 = 128u16

Source§

const HEIGHT: u16 = 128u16

Source§

type Framebuffer = FramebufferBW<{ Self::WIDTH }, { Self::HEIGHT }, Sharp>

Source§

impl DisplaySpec for LS027B7DH01

Source§

const WIDTH: u16 = 400u16

Source§

const HEIGHT: u16 = 240u16

Source§

type Framebuffer = FramebufferBW<{ Self::WIDTH }, { Self::HEIGHT }, Sharp>