Struct leanshot_xlib::PixBuffer[][src]

pub struct PixBuffer {
    pub buf: *mut u8,
    pub size: usize,
}

The buffer pointed to by an XImage.

Fields

The raw pointer to the buffer

The size of the buffer

Methods

impl PixBuffer
[src]

Gets the byte at the index of the data buffer.

Auto Trait Implementations

impl !Send for PixBuffer

impl !Sync for PixBuffer