x11rb::protocol::xproto

Function put_image

Source
pub fn put_image<'c, 'input, Conn>(
    conn: &'c Conn,
    format: ImageFormat,
    drawable: Drawable,
    gc: Gcontext,
    width: u16,
    height: u16,
    dst_x: i16,
    dst_y: i16,
    left_pad: u8,
    depth: u8,
    data: &'input [u8],
) -> Result<VoidCookie<'c, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,