Trait drm::buffer::Buffer[][src]

pub trait Buffer {
    fn size(&self) -> (u32, u32);
fn format(&self) -> DrmFourcc;
fn pitch(&self) -> u32;
fn handle(&self) -> Handle; }
Expand description

Common functionality of all regular buffers.

Required methods

The width and height of the buffer.

The format of the buffer.

The pitch of the buffer.

The handle to the buffer.

Implementors