Struct xcb::ffi::xproto::xcb_create_pixmap_request_t
[−]
[src]
#[repr(C)]pub struct xcb_create_pixmap_request_t { pub major_opcode: u8, pub depth: u8, pub length: u16, pub pid: xcb_pixmap_t, pub drawable: xcb_drawable_t, pub width: u16, pub height: u16, }
Creates a pixmap
Creates a pixmap. The pixmap can only be used on the same screen as drawable
is on and only with drawables of the same depth
.
Fields
major_opcode: u8
depth: u8
TODO
length: u16
pid: xcb_pixmap_t
The ID with which you will refer to the new pixmap, created by
xcb_generate_id
.
drawable: xcb_drawable_t
Drawable to get the screen from.
width: u16
The width of the new pixmap.
height: u16
The height of the new pixmap.
Trait Implementations
impl Copy for xcb_create_pixmap_request_t
[src]
impl Clone for xcb_create_pixmap_request_t
[src]
fn clone(&self) -> xcb_create_pixmap_request_t
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more