pub trait RenderingBufferAccess {
// Required methods
fn width(&self) -> u32;
fn height(&self) -> u32;
fn stride_abs(&self) -> u32;
unsafe fn row_ptr_const(&self, y: i32) -> *const u8;
}Expand description
Common interface for rendering buffer access (used by copy_from).