Struct xcb::x::CreatePixmap [−][src]
pub struct CreatePixmap {
pub depth: u8,
pub pid: Pixmap,
pub drawable: Drawable,
pub width: u16,
pub height: u16,
}
Expand description
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
.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields
depth: u8
TODO
pid: Pixmap
The ID with which you will refer to the new pixmap, created by Connection::generate_id.
drawable: Drawable
Drawable to get the screen from.
width: u16
The width of the new pixmap.
height: u16
The height of the new pixmap.
Trait Implementations
Actual implementation of the request sending Read more
type Cookie = VoidCookie
type Cookie = VoidCookie
The default cookie associated to this request.
Auto Trait Implementations
impl RefUnwindSafe for CreatePixmap
impl Send for CreatePixmap
impl Sync for CreatePixmap
impl Unpin for CreatePixmap
impl UnwindSafe for CreatePixmap
Blanket Implementations
Mutably borrows from an owned value. Read more