Struct xcb::x::CopyArea[][src]

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Actual implementation of the request sending Read more

The default cookie associated to this request.

false if the request returns a reply, true otherwise.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.