x11rb::protocol::randr

Function create_lease

Source
pub fn create_lease<'c, 'input, Conn>(
    conn: &'c Conn,
    window: Window,
    lid: Lease,
    crtcs: &'input [Crtc],
    outputs: &'input [Output],
) -> Result<CookieWithFds<'c, Conn, CreateLeaseReply>, ConnectionError>
where Conn: RequestConnection + ?Sized,