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
sourceimpl RawRequest for CopyArea
impl RawRequest for CopyArea
sourcefn 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
sourceimpl Request for CopyArea
impl Request for CopyArea
type Cookie = VoidCookie
type Cookie = VoidCookie
The default cookie associated to this request.
impl RequestWithoutReply for CopyArea
Auto Trait Implementations
impl RefUnwindSafe for CopyArea
impl Send for CopyArea
impl Sync for CopyArea
impl Unpin for CopyArea
impl UnwindSafe for CopyArea
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more