x11rb::protocol::dri3

Function query_version

Source
pub fn query_version<Conn>(
    conn: &Conn,
    major_version: u32,
    minor_version: u32,
) -> Result<Cookie<'_, Conn, QueryVersionReply>, ConnectionError>
where Conn: RequestConnection + ?Sized,