Struct leanshot_xlib::PixBuffer [−][src]
The buffer pointed to by an XImage.
Fields
buf: *mut u8
The raw pointer to the buffer
size: usize
The size of the buffer
Methods
impl PixBuffer
[src]
impl PixBuffer
pub fn get_byte(&self, index: usize) -> Option<u8>
[src]
pub fn get_byte(&self, index: usize) -> Option<u8>
Gets the byte at the index of the data buffer.