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: DrawableThe source drawable (Window or Pixmap).
dst_drawable: DrawableThe destination drawable (Window or Pixmap).
gc: GcontextThe graphics context to use.
src_x: i16The source X coordinate.
src_y: i16The source Y coordinate.
dst_x: i16The destination X coordinate.
dst_y: i16The destination Y coordinate.
width: u16The width of the area to copy (in pixels).
height: u16The 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