pub trait Buffer { // Required methods fn size(&self) -> (u32, u32); fn format(&self) -> DrmFourcc; fn pitch(&self) -> u32; fn handle(&self) -> Handle; }
Common functionality of all regular buffers.
The width and height of the buffer.
The format of the buffer.
The pitch of the buffer.
The handle to the buffer.