Struct xcb::x::CreatePixmap
source · 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§
source§impl Clone for CreatePixmap
impl Clone for CreatePixmap
source§fn clone(&self) -> CreatePixmap
fn clone(&self) -> CreatePixmap
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreatePixmap
impl Debug for CreatePixmap
source§impl RawRequest for CreatePixmap
impl RawRequest for CreatePixmap
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
source§impl Request for CreatePixmap
impl Request for CreatePixmap
impl RequestWithoutReply for CreatePixmap
Auto Trait Implementations§
impl Freeze for CreatePixmap
impl RefUnwindSafe for CreatePixmap
impl Send for CreatePixmap
impl Sync for CreatePixmap
impl Unpin for CreatePixmap
impl UnwindSafe for CreatePixmap
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)