pub struct PutImage<'a> {
pub format: ImageFormat,
pub drawable: Drawable,
pub gc: Gcontext,
pub width: u16,
pub height: u16,
pub dst_x: i16,
pub dst_y: i16,
pub left_pad: u8,
pub depth: u8,
pub data: &'a [u8],
}
Expand description
The PutImage
request.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§format: ImageFormat
§drawable: Drawable
§gc: Gcontext
§width: u16
§height: u16
§dst_x: i16
§dst_y: i16
§left_pad: u8
§depth: u8
§data: &'a [u8]
Trait Implementations§
source§impl<'a> RawRequest for PutImage<'a>
impl<'a> RawRequest for PutImage<'a>
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
impl<'a> RequestWithoutReply for PutImage<'a>
Auto Trait Implementations§
impl<'a> Freeze for PutImage<'a>
impl<'a> RefUnwindSafe for PutImage<'a>
impl<'a> Send for PutImage<'a>
impl<'a> Sync for PutImage<'a>
impl<'a> Unpin for PutImage<'a>
impl<'a> UnwindSafe for PutImage<'a>
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
)