pub struct CopyArea {
pub src_drawable: Drawable,
pub dst_drawable: Drawable,
pub gc: Gcontext,
pub src_x: i16,
pub src_y: i16,
pub dst_x: i16,
pub dst_y: i16,
pub width: u16,
pub height: u16,
}
Expand description
copy areas
Copies the specified rectangle from src_drawable
to dst_drawable
.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§src_drawable: Drawable
The source drawable (Window or Pixmap).
dst_drawable: Drawable
The destination drawable (Window or Pixmap).
gc: Gcontext
The graphics context to use.
src_x: i16
The source X coordinate.
src_y: i16
The source Y coordinate.
dst_x: i16
The destination X coordinate.
dst_y: i16
The destination Y coordinate.
width: u16
The width of the area to copy (in pixels).
height: u16
The height of the area to copy (in pixels).
Trait Implementations§
source§impl RawRequest for CopyArea
impl RawRequest for CopyArea
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 RequestWithoutReply for CopyArea
Auto Trait Implementations§
impl Freeze for CopyArea
impl RefUnwindSafe for CopyArea
impl Send for CopyArea
impl Sync for CopyArea
impl Unpin for CopyArea
impl UnwindSafe for CopyArea
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
)