create_context

Function create_context 

Source
pub async fn create_context<Conn>(
    conn: &Conn,
    context_id: Context,
    port_id: Port,
    surface_id: Surface,
    width: u16,
    height: u16,
    flags: u32,
) -> Result<Cookie<'_, Conn, CreateContextReply>, ConnectionError>
where Conn: RequestConnection + ?Sized,