pub trait DisplayFunctionsExt: Display + Sealed {
Show 1300 methods fn bigreq_enable(&mut self) -> Result<Cookie<EnableReply>> { ... } fn bigreq_enable_immediate(&mut self) -> Result<EnableReply> { ... } fn composite_query_version(
        &mut self,
        client_major_version: u32,
        client_minor_version: u32
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn composite_query_version_immediate(
        &mut self,
        client_major_version: u32,
        client_minor_version: u32
    ) -> Result<QueryVersionReply> { ... } fn composite_redirect_window(
        &mut self,
        window: Window,
        update: Redirect
    ) -> Result<Cookie<()>> { ... } fn composite_redirect_window_checked(
        &mut self,
        window: Window,
        update: Redirect
    ) -> Result<()> { ... } fn composite_redirect_subwindows(
        &mut self,
        window: Window,
        update: Redirect
    ) -> Result<Cookie<()>> { ... } fn composite_redirect_subwindows_checked(
        &mut self,
        window: Window,
        update: Redirect
    ) -> Result<()> { ... } fn composite_unredirect_window(
        &mut self,
        window: Window,
        update: Redirect
    ) -> Result<Cookie<()>> { ... } fn composite_unredirect_window_checked(
        &mut self,
        window: Window,
        update: Redirect
    ) -> Result<()> { ... } fn composite_unredirect_subwindows(
        &mut self,
        window: Window,
        update: Redirect
    ) -> Result<Cookie<()>> { ... } fn composite_unredirect_subwindows_checked(
        &mut self,
        window: Window,
        update: Redirect
    ) -> Result<()> { ... } fn composite_create_region_from_border_clip(
        &mut self,
        region: Region,
        window: Window
    ) -> Result<Cookie<()>> { ... } fn composite_create_region_from_border_clip_checked(
        &mut self,
        region: Region,
        window: Window
    ) -> Result<()> { ... } fn composite_name_window_pixmap(
        &mut self,
        window: Window,
        pixmap: Pixmap
    ) -> Result<Cookie<()>> { ... } fn composite_name_window_pixmap_checked(
        &mut self,
        window: Window,
        pixmap: Pixmap
    ) -> Result<()> { ... } fn composite_get_overlay_window(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetOverlayWindowReply>> { ... } fn composite_get_overlay_window_immediate(
        &mut self,
        window: Window
    ) -> Result<GetOverlayWindowReply> { ... } fn composite_release_overlay_window(
        &mut self,
        window: Window
    ) -> Result<Cookie<()>> { ... } fn composite_release_overlay_window_checked(
        &mut self,
        window: Window
    ) -> Result<()> { ... } fn damage_query_version(
        &mut self,
        client_major_version: u32,
        client_minor_version: u32
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn damage_query_version_immediate(
        &mut self,
        client_major_version: u32,
        client_minor_version: u32
    ) -> Result<QueryVersionReply> { ... } fn damage_create(
        &mut self,
        damage: Damage,
        drawable: Drawable,
        level: ReportLevel
    ) -> Result<Cookie<()>> { ... } fn damage_create_checked(
        &mut self,
        damage: Damage,
        drawable: Drawable,
        level: ReportLevel
    ) -> Result<()> { ... } fn damage_destroy(&mut self, damage: Damage) -> Result<Cookie<()>> { ... } fn damage_destroy_checked(&mut self, damage: Damage) -> Result<()> { ... } fn damage_subtract(
        &mut self,
        damage: Damage,
        repair: impl Into<Region>,
        parts: impl Into<Region>
    ) -> Result<Cookie<()>> { ... } fn damage_subtract_checked(
        &mut self,
        damage: Damage,
        repair: impl Into<Region>,
        parts: impl Into<Region>
    ) -> Result<()> { ... } fn damage_add(
        &mut self,
        drawable: Drawable,
        region: Region
    ) -> Result<Cookie<()>> { ... } fn damage_add_checked(
        &mut self,
        drawable: Drawable,
        region: Region
    ) -> Result<()> { ... } fn dpms_get_version(
        &mut self,
        client_major_version: u16,
        client_minor_version: u16
    ) -> Result<Cookie<GetVersionReply>> { ... } fn dpms_get_version_immediate(
        &mut self,
        client_major_version: u16,
        client_minor_version: u16
    ) -> Result<GetVersionReply> { ... } fn dpms_capable(&mut self) -> Result<Cookie<CapableReply>> { ... } fn dpms_capable_immediate(&mut self) -> Result<CapableReply> { ... } fn dpms_get_timeouts(&mut self) -> Result<Cookie<GetTimeoutsReply>> { ... } fn dpms_get_timeouts_immediate(&mut self) -> Result<GetTimeoutsReply> { ... } fn dpms_set_timeouts(
        &mut self,
        standby_timeout: u16,
        suspend_timeout: u16,
        off_timeout: u16
    ) -> Result<Cookie<()>> { ... } fn dpms_set_timeouts_checked(
        &mut self,
        standby_timeout: u16,
        suspend_timeout: u16,
        off_timeout: u16
    ) -> Result<()> { ... } fn dpms_enable(&mut self) -> Result<Cookie<()>> { ... } fn dpms_enable_checked(&mut self) -> Result<()> { ... } fn dpms_disable(&mut self) -> Result<Cookie<()>> { ... } fn dpms_disable_checked(&mut self) -> Result<()> { ... } fn dpms_force_level(&mut self, power_level: DPMSMode) -> Result<Cookie<()>> { ... } fn dpms_force_level_checked(&mut self, power_level: DPMSMode) -> Result<()> { ... } fn dpms_info(&mut self) -> Result<Cookie<InfoReply>> { ... } fn dpms_info_immediate(&mut self) -> Result<InfoReply> { ... } fn dri2_query_version(
        &mut self,
        major_version: u32,
        minor_version: u32
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn dri2_query_version_immediate(
        &mut self,
        major_version: u32,
        minor_version: u32
    ) -> Result<QueryVersionReply> { ... } fn dri2_connect(
        &mut self,
        window: Window,
        driver_type: DriverType
    ) -> Result<Cookie<ConnectReply>> { ... } fn dri2_connect_immediate(
        &mut self,
        window: Window,
        driver_type: DriverType
    ) -> Result<ConnectReply> { ... } fn dri2_authenticate(
        &mut self,
        window: Window,
        magic: u32
    ) -> Result<Cookie<AuthenticateReply>> { ... } fn dri2_authenticate_immediate(
        &mut self,
        window: Window,
        magic: u32
    ) -> Result<AuthenticateReply> { ... } fn dri2_create_drawable(&mut self, drawable: Drawable) -> Result<Cookie<()>> { ... } fn dri2_create_drawable_checked(&mut self, drawable: Drawable) -> Result<()> { ... } fn dri2_destroy_drawable(
        &mut self,
        drawable: Drawable
    ) -> Result<Cookie<()>> { ... } fn dri2_destroy_drawable_checked(
        &mut self,
        drawable: Drawable
    ) -> Result<()> { ... } fn dri2_copy_region(
        &mut self,
        drawable: Drawable,
        region: u32,
        dest: u32,
        src: u32
    ) -> Result<Cookie<CopyRegionReply>> { ... } fn dri2_copy_region_immediate(
        &mut self,
        drawable: Drawable,
        region: u32,
        dest: u32,
        src: u32
    ) -> Result<CopyRegionReply> { ... } fn dri2_swap_buffers(
        &mut self,
        drawable: Drawable,
        target_msc_hi: u32,
        target_msc_lo: u32,
        divisor_hi: u32,
        divisor_lo: u32,
        remainder_hi: u32,
        remainder_lo: u32
    ) -> Result<Cookie<SwapBuffersReply>> { ... } fn dri2_swap_buffers_immediate(
        &mut self,
        drawable: Drawable,
        target_msc_hi: u32,
        target_msc_lo: u32,
        divisor_hi: u32,
        divisor_lo: u32,
        remainder_hi: u32,
        remainder_lo: u32
    ) -> Result<SwapBuffersReply> { ... } fn dri2_get_msc(
        &mut self,
        drawable: Drawable
    ) -> Result<Cookie<GetMSCReply>> { ... } fn dri2_get_msc_immediate(
        &mut self,
        drawable: Drawable
    ) -> Result<GetMSCReply> { ... } fn dri2_wait_msc(
        &mut self,
        drawable: Drawable,
        target_msc_hi: u32,
        target_msc_lo: u32,
        divisor_hi: u32,
        divisor_lo: u32,
        remainder_hi: u32,
        remainder_lo: u32
    ) -> Result<Cookie<WaitMSCReply>> { ... } fn dri2_wait_msc_immediate(
        &mut self,
        drawable: Drawable,
        target_msc_hi: u32,
        target_msc_lo: u32,
        divisor_hi: u32,
        divisor_lo: u32,
        remainder_hi: u32,
        remainder_lo: u32
    ) -> Result<WaitMSCReply> { ... } fn dri2_wait_sbc(
        &mut self,
        drawable: Drawable,
        target_sbc_hi: u32,
        target_sbc_lo: u32
    ) -> Result<Cookie<WaitSBCReply>> { ... } fn dri2_wait_sbc_immediate(
        &mut self,
        drawable: Drawable,
        target_sbc_hi: u32,
        target_sbc_lo: u32
    ) -> Result<WaitSBCReply> { ... } fn dri2_swap_interval(
        &mut self,
        drawable: Drawable,
        interval: u32
    ) -> Result<Cookie<()>> { ... } fn dri2_swap_interval_checked(
        &mut self,
        drawable: Drawable,
        interval: u32
    ) -> Result<()> { ... } fn dri2_get_param(
        &mut self,
        drawable: Drawable,
        param: u32
    ) -> Result<Cookie<GetParamReply>> { ... } fn dri2_get_param_immediate(
        &mut self,
        drawable: Drawable,
        param: u32
    ) -> Result<GetParamReply> { ... } fn dri3_query_version(
        &mut self,
        major_version: u32,
        minor_version: u32
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn dri3_query_version_immediate(
        &mut self,
        major_version: u32,
        minor_version: u32
    ) -> Result<QueryVersionReply> { ... } fn dri3_open(
        &mut self,
        drawable: Drawable,
        provider: u32
    ) -> Result<Cookie<OpenReply>> { ... } fn dri3_open_immediate(
        &mut self,
        drawable: Drawable,
        provider: u32
    ) -> Result<OpenReply> { ... } fn dri3_pixmap_from_buffer(
        &mut self,
        pixmap: Pixmap,
        drawable: Drawable,
        size: u32,
        width: u16,
        height: u16,
        stride: u16,
        depth: u8,
        bpp: u8,
        pixmap_fd: Fd
    ) -> Result<Cookie<()>> { ... } fn dri3_pixmap_from_buffer_checked(
        &mut self,
        pixmap: Pixmap,
        drawable: Drawable,
        size: u32,
        width: u16,
        height: u16,
        stride: u16,
        depth: u8,
        bpp: u8,
        pixmap_fd: Fd
    ) -> Result<()> { ... } fn dri3_buffer_from_pixmap(
        &mut self,
        pixmap: Pixmap
    ) -> Result<Cookie<BufferFromPixmapReply>> { ... } fn dri3_buffer_from_pixmap_immediate(
        &mut self,
        pixmap: Pixmap
    ) -> Result<BufferFromPixmapReply> { ... } fn dri3_fence_from_fd(
        &mut self,
        drawable: Drawable,
        fence: u32,
        initially_triggered: bool,
        fence_fd: Fd
    ) -> Result<Cookie<()>> { ... } fn dri3_fence_from_fd_checked(
        &mut self,
        drawable: Drawable,
        fence: u32,
        initially_triggered: bool,
        fence_fd: Fd
    ) -> Result<()> { ... } fn dri3_fd_from_fence(
        &mut self,
        drawable: Drawable,
        fence: u32
    ) -> Result<Cookie<FDFromFenceReply>> { ... } fn dri3_fd_from_fence_immediate(
        &mut self,
        drawable: Drawable,
        fence: u32
    ) -> Result<FDFromFenceReply> { ... } fn dri3_get_supported_modifiers(
        &mut self,
        window: u32,
        depth: u8,
        bpp: u8
    ) -> Result<Cookie<GetSupportedModifiersReply>> { ... } fn dri3_get_supported_modifiers_immediate(
        &mut self,
        window: u32,
        depth: u8,
        bpp: u8
    ) -> Result<GetSupportedModifiersReply> { ... } fn dri3_pixmap_from_buffers(
        &mut self,
        pixmap: Pixmap,
        window: Window,
        width: u16,
        height: u16,
        stride0: u32,
        offset0: u32,
        stride1: u32,
        offset1: u32,
        stride2: u32,
        offset2: u32,
        stride3: u32,
        offset3: u32,
        depth: u8,
        bpp: u8,
        modifier: u64,
        buffers: Vec<Fd>
    ) -> Result<Cookie<()>> { ... } fn dri3_pixmap_from_buffers_checked(
        &mut self,
        pixmap: Pixmap,
        window: Window,
        width: u16,
        height: u16,
        stride0: u32,
        offset0: u32,
        stride1: u32,
        offset1: u32,
        stride2: u32,
        offset2: u32,
        stride3: u32,
        offset3: u32,
        depth: u8,
        bpp: u8,
        modifier: u64,
        buffers: Vec<Fd>
    ) -> Result<()> { ... } fn dri3_buffers_from_pixmap(
        &mut self,
        pixmap: Pixmap
    ) -> Result<Cookie<BuffersFromPixmapReply>> { ... } fn dri3_buffers_from_pixmap_immediate(
        &mut self,
        pixmap: Pixmap
    ) -> Result<BuffersFromPixmapReply> { ... } fn ge_query_version(
        &mut self,
        client_major_version: u16,
        client_minor_version: u16
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn ge_query_version_immediate(
        &mut self,
        client_major_version: u16,
        client_minor_version: u16
    ) -> Result<QueryVersionReply> { ... } fn glx_render(
        &mut self,
        context_tag: ContextTag,
        data: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn glx_render_checked(
        &mut self,
        context_tag: ContextTag,
        data: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn glx_render_large(
        &mut self,
        context_tag: ContextTag,
        request_num: u16,
        request_total: u16,
        data: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn glx_render_large_checked(
        &mut self,
        context_tag: ContextTag,
        request_num: u16,
        request_total: u16,
        data: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn glx_create_context(
        &mut self,
        context: Context,
        visual: Visualid,
        screen: u32,
        share_list: Context,
        is_direct: bool
    ) -> Result<Cookie<()>> { ... } fn glx_create_context_checked(
        &mut self,
        context: Context,
        visual: Visualid,
        screen: u32,
        share_list: Context,
        is_direct: bool
    ) -> Result<()> { ... } fn glx_destroy_context(&mut self, context: Context) -> Result<Cookie<()>> { ... } fn glx_destroy_context_checked(&mut self, context: Context) -> Result<()> { ... } fn glx_make_current(
        &mut self,
        drawable: Drawable,
        context: Context,
        old_context_tag: ContextTag
    ) -> Result<Cookie<MakeCurrentReply>> { ... } fn glx_make_current_immediate(
        &mut self,
        drawable: Drawable,
        context: Context,
        old_context_tag: ContextTag
    ) -> Result<MakeCurrentReply> { ... } fn glx_is_direct(
        &mut self,
        context: Context
    ) -> Result<Cookie<IsDirectReply>> { ... } fn glx_is_direct_immediate(
        &mut self,
        context: Context
    ) -> Result<IsDirectReply> { ... } fn glx_query_version(
        &mut self,
        major_version: u32,
        minor_version: u32
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn glx_query_version_immediate(
        &mut self,
        major_version: u32,
        minor_version: u32
    ) -> Result<QueryVersionReply> { ... } fn glx_wait_gl(&mut self, context_tag: ContextTag) -> Result<Cookie<()>> { ... } fn glx_wait_gl_checked(&mut self, context_tag: ContextTag) -> Result<()> { ... } fn glx_wait_x(&mut self, context_tag: ContextTag) -> Result<Cookie<()>> { ... } fn glx_wait_x_checked(&mut self, context_tag: ContextTag) -> Result<()> { ... } fn glx_copy_context(
        &mut self,
        src: Context,
        dest: Context,
        mask: u32,
        src_context_tag: ContextTag
    ) -> Result<Cookie<()>> { ... } fn glx_copy_context_checked(
        &mut self,
        src: Context,
        dest: Context,
        mask: u32,
        src_context_tag: ContextTag
    ) -> Result<()> { ... } fn glx_swap_buffers(
        &mut self,
        context_tag: ContextTag,
        drawable: Drawable
    ) -> Result<Cookie<()>> { ... } fn glx_swap_buffers_checked(
        &mut self,
        context_tag: ContextTag,
        drawable: Drawable
    ) -> Result<()> { ... } fn glx_use_x_font(
        &mut self,
        context_tag: ContextTag,
        font: Font,
        first: u32,
        count: u32,
        list_base: u32
    ) -> Result<Cookie<()>> { ... } fn glx_use_x_font_checked(
        &mut self,
        context_tag: ContextTag,
        font: Font,
        first: u32,
        count: u32,
        list_base: u32
    ) -> Result<()> { ... } fn glx_create_glx_pixmap(
        &mut self,
        screen: u32,
        visual: Visualid,
        pixmap: Pixmap,
        glx_pixmap: Pixmap
    ) -> Result<Cookie<()>> { ... } fn glx_create_glx_pixmap_checked(
        &mut self,
        screen: u32,
        visual: Visualid,
        pixmap: Pixmap,
        glx_pixmap: Pixmap
    ) -> Result<()> { ... } fn glx_get_visual_configs(
        &mut self,
        screen: u32
    ) -> Result<Cookie<GetVisualConfigsReply>> { ... } fn glx_get_visual_configs_immediate(
        &mut self,
        screen: u32
    ) -> Result<GetVisualConfigsReply> { ... } fn glx_destroy_glx_pixmap(
        &mut self,
        glx_pixmap: Pixmap
    ) -> Result<Cookie<()>> { ... } fn glx_destroy_glx_pixmap_checked(
        &mut self,
        glx_pixmap: Pixmap
    ) -> Result<()> { ... } fn glx_vendor_private(
        &mut self,
        vendor_code: u32,
        context_tag: ContextTag,
        data: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn glx_vendor_private_checked(
        &mut self,
        vendor_code: u32,
        context_tag: ContextTag,
        data: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn glx_vendor_private_with_reply(
        &mut self,
        vendor_code: u32,
        context_tag: ContextTag,
        data: impl AsRef<[u8]>
    ) -> Result<Cookie<VendorPrivateWithReplyReply>> { ... } fn glx_vendor_private_with_reply_immediate(
        &mut self,
        vendor_code: u32,
        context_tag: ContextTag,
        data: impl AsRef<[u8]>
    ) -> Result<VendorPrivateWithReplyReply> { ... } fn glx_query_extensions_string(
        &mut self,
        screen: u32
    ) -> Result<Cookie<QueryExtensionsStringReply>> { ... } fn glx_query_extensions_string_immediate(
        &mut self,
        screen: u32
    ) -> Result<QueryExtensionsStringReply> { ... } fn glx_query_server_string(
        &mut self,
        screen: u32,
        name: u32
    ) -> Result<Cookie<QueryServerStringReply>> { ... } fn glx_query_server_string_immediate(
        &mut self,
        screen: u32,
        name: u32
    ) -> Result<QueryServerStringReply> { ... } fn glx_client_info(
        &mut self,
        major_version: u32,
        minor_version: u32,
        string: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn glx_client_info_checked(
        &mut self,
        major_version: u32,
        minor_version: u32,
        string: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn glx_get_fb_configs(
        &mut self,
        screen: u32
    ) -> Result<Cookie<GetFBConfigsReply>> { ... } fn glx_get_fb_configs_immediate(
        &mut self,
        screen: u32
    ) -> Result<GetFBConfigsReply> { ... } fn glx_create_pixmap(
        &mut self,
        screen: u32,
        fbconfig: Fbconfig,
        pixmap: Pixmap,
        glx_pixmap: Pixmap,
        attribs: impl AsRef<[u32]>
    ) -> Result<Cookie<()>> { ... } fn glx_create_pixmap_checked(
        &mut self,
        screen: u32,
        fbconfig: Fbconfig,
        pixmap: Pixmap,
        glx_pixmap: Pixmap,
        attribs: impl AsRef<[u32]>
    ) -> Result<()> { ... } fn glx_destroy_pixmap(&mut self, glx_pixmap: Pixmap) -> Result<Cookie<()>> { ... } fn glx_destroy_pixmap_checked(&mut self, glx_pixmap: Pixmap) -> Result<()> { ... } fn glx_create_new_context(
        &mut self,
        context: Context,
        fbconfig: Fbconfig,
        screen: u32,
        render_type: u32,
        share_list: Context,
        is_direct: bool
    ) -> Result<Cookie<()>> { ... } fn glx_create_new_context_checked(
        &mut self,
        context: Context,
        fbconfig: Fbconfig,
        screen: u32,
        render_type: u32,
        share_list: Context,
        is_direct: bool
    ) -> Result<()> { ... } fn glx_query_context(
        &mut self,
        context: Context
    ) -> Result<Cookie<QueryContextReply>> { ... } fn glx_query_context_immediate(
        &mut self,
        context: Context
    ) -> Result<QueryContextReply> { ... } fn glx_make_context_current(
        &mut self,
        old_context_tag: ContextTag,
        drawable: Drawable,
        read_drawable: Drawable,
        context: Context
    ) -> Result<Cookie<MakeContextCurrentReply>> { ... } fn glx_make_context_current_immediate(
        &mut self,
        old_context_tag: ContextTag,
        drawable: Drawable,
        read_drawable: Drawable,
        context: Context
    ) -> Result<MakeContextCurrentReply> { ... } fn glx_create_pbuffer(
        &mut self,
        screen: u32,
        fbconfig: Fbconfig,
        pbuffer: Pbuffer,
        attribs: impl AsRef<[u32]>
    ) -> Result<Cookie<()>> { ... } fn glx_create_pbuffer_checked(
        &mut self,
        screen: u32,
        fbconfig: Fbconfig,
        pbuffer: Pbuffer,
        attribs: impl AsRef<[u32]>
    ) -> Result<()> { ... } fn glx_destroy_pbuffer(&mut self, pbuffer: Pbuffer) -> Result<Cookie<()>> { ... } fn glx_destroy_pbuffer_checked(&mut self, pbuffer: Pbuffer) -> Result<()> { ... } fn glx_get_drawable_attributes(
        &mut self,
        drawable: Drawable
    ) -> Result<Cookie<GetDrawableAttributesReply>> { ... } fn glx_get_drawable_attributes_immediate(
        &mut self,
        drawable: Drawable
    ) -> Result<GetDrawableAttributesReply> { ... } fn glx_change_drawable_attributes(
        &mut self,
        drawable: Drawable,
        attribs: impl AsRef<[u32]>
    ) -> Result<Cookie<()>> { ... } fn glx_change_drawable_attributes_checked(
        &mut self,
        drawable: Drawable,
        attribs: impl AsRef<[u32]>
    ) -> Result<()> { ... } fn glx_create_window(
        &mut self,
        screen: u32,
        fbconfig: Fbconfig,
        window: Window,
        glx_window: Window,
        attribs: impl AsRef<[u32]>
    ) -> Result<Cookie<()>> { ... } fn glx_create_window_checked(
        &mut self,
        screen: u32,
        fbconfig: Fbconfig,
        window: Window,
        glx_window: Window,
        attribs: impl AsRef<[u32]>
    ) -> Result<()> { ... } fn glx_delete_window(&mut self, glxwindow: Window) -> Result<Cookie<()>> { ... } fn glx_delete_window_checked(&mut self, glxwindow: Window) -> Result<()> { ... } fn glx_set_client_info_arb(
        &mut self,
        major_version: u32,
        minor_version: u32,
        gl_versions: impl AsRef<[u32]>,
        gl_extension_string: impl AsRef<[u8]>,
        glx_extension_string: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn glx_set_client_info_arb_checked(
        &mut self,
        major_version: u32,
        minor_version: u32,
        gl_versions: impl AsRef<[u32]>,
        gl_extension_string: impl AsRef<[u8]>,
        glx_extension_string: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn glx_create_context_attribs_arb(
        &mut self,
        context: Context,
        fbconfig: Fbconfig,
        screen: u32,
        share_list: Context,
        is_direct: bool,
        attribs: impl AsRef<[u32]>
    ) -> Result<Cookie<()>> { ... } fn glx_create_context_attribs_arb_checked(
        &mut self,
        context: Context,
        fbconfig: Fbconfig,
        screen: u32,
        share_list: Context,
        is_direct: bool,
        attribs: impl AsRef<[u32]>
    ) -> Result<()> { ... } fn glx_set_client_info2_arb(
        &mut self,
        major_version: u32,
        minor_version: u32,
        gl_versions: impl AsRef<[u32]>,
        gl_extension_string: impl AsRef<[u8]>,
        glx_extension_string: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn glx_set_client_info2_arb_checked(
        &mut self,
        major_version: u32,
        minor_version: u32,
        gl_versions: impl AsRef<[u32]>,
        gl_extension_string: impl AsRef<[u8]>,
        glx_extension_string: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn glx_new_list(
        &mut self,
        context_tag: ContextTag,
        list: u32,
        mode: u32
    ) -> Result<Cookie<()>> { ... } fn glx_new_list_checked(
        &mut self,
        context_tag: ContextTag,
        list: u32,
        mode: u32
    ) -> Result<()> { ... } fn glx_end_list(&mut self, context_tag: ContextTag) -> Result<Cookie<()>> { ... } fn glx_end_list_checked(&mut self, context_tag: ContextTag) -> Result<()> { ... } fn glx_delete_lists(
        &mut self,
        context_tag: ContextTag,
        list: u32,
        range: i32
    ) -> Result<Cookie<()>> { ... } fn glx_delete_lists_checked(
        &mut self,
        context_tag: ContextTag,
        list: u32,
        range: i32
    ) -> Result<()> { ... } fn glx_gen_lists(
        &mut self,
        context_tag: ContextTag,
        range: i32
    ) -> Result<Cookie<GenListsReply>> { ... } fn glx_gen_lists_immediate(
        &mut self,
        context_tag: ContextTag,
        range: i32
    ) -> Result<GenListsReply> { ... } fn glx_feedback_buffer(
        &mut self,
        context_tag: ContextTag,
        size: i32,
        type_: i32
    ) -> Result<Cookie<()>> { ... } fn glx_feedback_buffer_checked(
        &mut self,
        context_tag: ContextTag,
        size: i32,
        type_: i32
    ) -> Result<()> { ... } fn glx_select_buffer(
        &mut self,
        context_tag: ContextTag,
        size: i32
    ) -> Result<Cookie<()>> { ... } fn glx_select_buffer_checked(
        &mut self,
        context_tag: ContextTag,
        size: i32
    ) -> Result<()> { ... } fn glx_render_mode(
        &mut self,
        context_tag: ContextTag,
        mode: u32
    ) -> Result<Cookie<RenderModeReply>> { ... } fn glx_render_mode_immediate(
        &mut self,
        context_tag: ContextTag,
        mode: u32
    ) -> Result<RenderModeReply> { ... } fn glx_finish(
        &mut self,
        context_tag: ContextTag
    ) -> Result<Cookie<FinishReply>> { ... } fn glx_finish_immediate(
        &mut self,
        context_tag: ContextTag
    ) -> Result<FinishReply> { ... } fn glx_pixel_storef(
        &mut self,
        context_tag: ContextTag,
        pname: u32,
        datum: Float32
    ) -> Result<Cookie<()>> { ... } fn glx_pixel_storef_checked(
        &mut self,
        context_tag: ContextTag,
        pname: u32,
        datum: Float32
    ) -> Result<()> { ... } fn glx_pixel_storei(
        &mut self,
        context_tag: ContextTag,
        pname: u32,
        datum: i32
    ) -> Result<Cookie<()>> { ... } fn glx_pixel_storei_checked(
        &mut self,
        context_tag: ContextTag,
        pname: u32,
        datum: i32
    ) -> Result<()> { ... } fn glx_read_pixels(
        &mut self,
        context_tag: ContextTag,
        x: i32,
        y: i32,
        width: i32,
        height: i32,
        format: u32,
        type_: u32,
        swap_bytes: bool,
        lsb_first: bool
    ) -> Result<Cookie<ReadPixelsReply>> { ... } fn glx_read_pixels_immediate(
        &mut self,
        context_tag: ContextTag,
        x: i32,
        y: i32,
        width: i32,
        height: i32,
        format: u32,
        type_: u32,
        swap_bytes: bool,
        lsb_first: bool
    ) -> Result<ReadPixelsReply> { ... } fn glx_get_booleanv(
        &mut self,
        context_tag: ContextTag,
        pname: i32
    ) -> Result<Cookie<GetBooleanvReply>> { ... } fn glx_get_booleanv_immediate(
        &mut self,
        context_tag: ContextTag,
        pname: i32
    ) -> Result<GetBooleanvReply> { ... } fn glx_get_clip_plane(
        &mut self,
        context_tag: ContextTag,
        plane: i32
    ) -> Result<Cookie<GetClipPlaneReply>> { ... } fn glx_get_clip_plane_immediate(
        &mut self,
        context_tag: ContextTag,
        plane: i32
    ) -> Result<GetClipPlaneReply> { ... } fn glx_get_doublev(
        &mut self,
        context_tag: ContextTag,
        pname: u32
    ) -> Result<Cookie<GetDoublevReply>> { ... } fn glx_get_doublev_immediate(
        &mut self,
        context_tag: ContextTag,
        pname: u32
    ) -> Result<GetDoublevReply> { ... } fn glx_get_error(
        &mut self,
        context_tag: ContextTag
    ) -> Result<Cookie<GetErrorReply>> { ... } fn glx_get_error_immediate(
        &mut self,
        context_tag: ContextTag
    ) -> Result<GetErrorReply> { ... } fn glx_get_floatv(
        &mut self,
        context_tag: ContextTag,
        pname: u32
    ) -> Result<Cookie<GetFloatvReply>> { ... } fn glx_get_floatv_immediate(
        &mut self,
        context_tag: ContextTag,
        pname: u32
    ) -> Result<GetFloatvReply> { ... } fn glx_get_integerv(
        &mut self,
        context_tag: ContextTag,
        pname: u32
    ) -> Result<Cookie<GetIntegervReply>> { ... } fn glx_get_integerv_immediate(
        &mut self,
        context_tag: ContextTag,
        pname: u32
    ) -> Result<GetIntegervReply> { ... } fn glx_get_lightfv(
        &mut self,
        context_tag: ContextTag,
        light: u32,
        pname: u32
    ) -> Result<Cookie<GetLightfvReply>> { ... } fn glx_get_lightfv_immediate(
        &mut self,
        context_tag: ContextTag,
        light: u32,
        pname: u32
    ) -> Result<GetLightfvReply> { ... } fn glx_get_lightiv(
        &mut self,
        context_tag: ContextTag,
        light: u32,
        pname: u32
    ) -> Result<Cookie<GetLightivReply>> { ... } fn glx_get_lightiv_immediate(
        &mut self,
        context_tag: ContextTag,
        light: u32,
        pname: u32
    ) -> Result<GetLightivReply> { ... } fn glx_get_mapdv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        query: u32
    ) -> Result<Cookie<GetMapdvReply>> { ... } fn glx_get_mapdv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        query: u32
    ) -> Result<GetMapdvReply> { ... } fn glx_get_mapfv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        query: u32
    ) -> Result<Cookie<GetMapfvReply>> { ... } fn glx_get_mapfv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        query: u32
    ) -> Result<GetMapfvReply> { ... } fn glx_get_mapiv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        query: u32
    ) -> Result<Cookie<GetMapivReply>> { ... } fn glx_get_mapiv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        query: u32
    ) -> Result<GetMapivReply> { ... } fn glx_get_materialfv(
        &mut self,
        context_tag: ContextTag,
        face: u32,
        pname: u32
    ) -> Result<Cookie<GetMaterialfvReply>> { ... } fn glx_get_materialfv_immediate(
        &mut self,
        context_tag: ContextTag,
        face: u32,
        pname: u32
    ) -> Result<GetMaterialfvReply> { ... } fn glx_get_materialiv(
        &mut self,
        context_tag: ContextTag,
        face: u32,
        pname: u32
    ) -> Result<Cookie<GetMaterialivReply>> { ... } fn glx_get_materialiv_immediate(
        &mut self,
        context_tag: ContextTag,
        face: u32,
        pname: u32
    ) -> Result<GetMaterialivReply> { ... } fn glx_get_pixel_mapfv(
        &mut self,
        context_tag: ContextTag,
        map: u32
    ) -> Result<Cookie<GetPixelMapfvReply>> { ... } fn glx_get_pixel_mapfv_immediate(
        &mut self,
        context_tag: ContextTag,
        map: u32
    ) -> Result<GetPixelMapfvReply> { ... } fn glx_get_pixel_mapuiv(
        &mut self,
        context_tag: ContextTag,
        map: u32
    ) -> Result<Cookie<GetPixelMapuivReply>> { ... } fn glx_get_pixel_mapuiv_immediate(
        &mut self,
        context_tag: ContextTag,
        map: u32
    ) -> Result<GetPixelMapuivReply> { ... } fn glx_get_pixel_mapusv(
        &mut self,
        context_tag: ContextTag,
        map: u32
    ) -> Result<Cookie<GetPixelMapusvReply>> { ... } fn glx_get_pixel_mapusv_immediate(
        &mut self,
        context_tag: ContextTag,
        map: u32
    ) -> Result<GetPixelMapusvReply> { ... } fn glx_get_polygon_stipple(
        &mut self,
        context_tag: ContextTag,
        lsb_first: bool
    ) -> Result<Cookie<GetPolygonStippleReply>> { ... } fn glx_get_polygon_stipple_immediate(
        &mut self,
        context_tag: ContextTag,
        lsb_first: bool
    ) -> Result<GetPolygonStippleReply> { ... } fn glx_get_string(
        &mut self,
        context_tag: ContextTag,
        name: u32
    ) -> Result<Cookie<GetStringReply>> { ... } fn glx_get_string_immediate(
        &mut self,
        context_tag: ContextTag,
        name: u32
    ) -> Result<GetStringReply> { ... } fn glx_get_tex_envfv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetTexEnvfvReply>> { ... } fn glx_get_tex_envfv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetTexEnvfvReply> { ... } fn glx_get_tex_enviv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetTexEnvivReply>> { ... } fn glx_get_tex_enviv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetTexEnvivReply> { ... } fn glx_get_tex_gendv(
        &mut self,
        context_tag: ContextTag,
        coord: u32,
        pname: u32
    ) -> Result<Cookie<GetTexGendvReply>> { ... } fn glx_get_tex_gendv_immediate(
        &mut self,
        context_tag: ContextTag,
        coord: u32,
        pname: u32
    ) -> Result<GetTexGendvReply> { ... } fn glx_get_tex_genfv(
        &mut self,
        context_tag: ContextTag,
        coord: u32,
        pname: u32
    ) -> Result<Cookie<GetTexGenfvReply>> { ... } fn glx_get_tex_genfv_immediate(
        &mut self,
        context_tag: ContextTag,
        coord: u32,
        pname: u32
    ) -> Result<GetTexGenfvReply> { ... } fn glx_get_tex_geniv(
        &mut self,
        context_tag: ContextTag,
        coord: u32,
        pname: u32
    ) -> Result<Cookie<GetTexGenivReply>> { ... } fn glx_get_tex_geniv_immediate(
        &mut self,
        context_tag: ContextTag,
        coord: u32,
        pname: u32
    ) -> Result<GetTexGenivReply> { ... } fn glx_get_tex_image(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        level: i32,
        format: u32,
        type_: u32,
        swap_bytes: bool
    ) -> Result<Cookie<GetTexImageReply>> { ... } fn glx_get_tex_image_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        level: i32,
        format: u32,
        type_: u32,
        swap_bytes: bool
    ) -> Result<GetTexImageReply> { ... } fn glx_get_tex_parameterfv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetTexParameterfvReply>> { ... } fn glx_get_tex_parameterfv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetTexParameterfvReply> { ... } fn glx_get_tex_parameteriv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetTexParameterivReply>> { ... } fn glx_get_tex_parameteriv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetTexParameterivReply> { ... } fn glx_get_tex_level_parameterfv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        level: i32,
        pname: u32
    ) -> Result<Cookie<GetTexLevelParameterfvReply>> { ... } fn glx_get_tex_level_parameterfv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        level: i32,
        pname: u32
    ) -> Result<GetTexLevelParameterfvReply> { ... } fn glx_get_tex_level_parameteriv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        level: i32,
        pname: u32
    ) -> Result<Cookie<GetTexLevelParameterivReply>> { ... } fn glx_get_tex_level_parameteriv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        level: i32,
        pname: u32
    ) -> Result<GetTexLevelParameterivReply> { ... } fn glx_is_enabled(
        &mut self,
        context_tag: ContextTag,
        capability: u32
    ) -> Result<Cookie<IsEnabledReply>> { ... } fn glx_is_enabled_immediate(
        &mut self,
        context_tag: ContextTag,
        capability: u32
    ) -> Result<IsEnabledReply> { ... } fn glx_is_list(
        &mut self,
        context_tag: ContextTag,
        list: u32
    ) -> Result<Cookie<IsListReply>> { ... } fn glx_is_list_immediate(
        &mut self,
        context_tag: ContextTag,
        list: u32
    ) -> Result<IsListReply> { ... } fn glx_flush(&mut self, context_tag: ContextTag) -> Result<Cookie<()>> { ... } fn glx_flush_checked(&mut self, context_tag: ContextTag) -> Result<()> { ... } fn glx_are_textures_resident(
        &mut self,
        context_tag: ContextTag,
        textures: impl AsRef<[u32]>
    ) -> Result<Cookie<AreTexturesResidentReply>> { ... } fn glx_are_textures_resident_immediate(
        &mut self,
        context_tag: ContextTag,
        textures: impl AsRef<[u32]>
    ) -> Result<AreTexturesResidentReply> { ... } fn glx_delete_textures(
        &mut self,
        context_tag: ContextTag,
        textures: impl AsRef<[u32]>
    ) -> Result<Cookie<()>> { ... } fn glx_delete_textures_checked(
        &mut self,
        context_tag: ContextTag,
        textures: impl AsRef<[u32]>
    ) -> Result<()> { ... } fn glx_gen_textures(
        &mut self,
        context_tag: ContextTag,
        n: i32
    ) -> Result<Cookie<GenTexturesReply>> { ... } fn glx_gen_textures_immediate(
        &mut self,
        context_tag: ContextTag,
        n: i32
    ) -> Result<GenTexturesReply> { ... } fn glx_is_texture(
        &mut self,
        context_tag: ContextTag,
        texture: u32
    ) -> Result<Cookie<IsTextureReply>> { ... } fn glx_is_texture_immediate(
        &mut self,
        context_tag: ContextTag,
        texture: u32
    ) -> Result<IsTextureReply> { ... } fn glx_get_color_table(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        format: u32,
        type_: u32,
        swap_bytes: bool
    ) -> Result<Cookie<GetColorTableReply>> { ... } fn glx_get_color_table_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        format: u32,
        type_: u32,
        swap_bytes: bool
    ) -> Result<GetColorTableReply> { ... } fn glx_get_color_table_parameterfv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetColorTableParameterfvReply>> { ... } fn glx_get_color_table_parameterfv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetColorTableParameterfvReply> { ... } fn glx_get_color_table_parameteriv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetColorTableParameterivReply>> { ... } fn glx_get_color_table_parameteriv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetColorTableParameterivReply> { ... } fn glx_get_convolution_filter(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        format: u32,
        type_: u32,
        swap_bytes: bool
    ) -> Result<Cookie<GetConvolutionFilterReply>> { ... } fn glx_get_convolution_filter_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        format: u32,
        type_: u32,
        swap_bytes: bool
    ) -> Result<GetConvolutionFilterReply> { ... } fn glx_get_convolution_parameterfv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetConvolutionParameterfvReply>> { ... } fn glx_get_convolution_parameterfv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetConvolutionParameterfvReply> { ... } fn glx_get_convolution_parameteriv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetConvolutionParameterivReply>> { ... } fn glx_get_convolution_parameteriv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetConvolutionParameterivReply> { ... } fn glx_get_separable_filter(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        format: u32,
        type_: u32,
        swap_bytes: bool
    ) -> Result<Cookie<GetSeparableFilterReply>> { ... } fn glx_get_separable_filter_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        format: u32,
        type_: u32,
        swap_bytes: bool
    ) -> Result<GetSeparableFilterReply> { ... } fn glx_get_histogram(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        format: u32,
        type_: u32,
        swap_bytes: bool,
        reset: bool
    ) -> Result<Cookie<GetHistogramReply>> { ... } fn glx_get_histogram_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        format: u32,
        type_: u32,
        swap_bytes: bool,
        reset: bool
    ) -> Result<GetHistogramReply> { ... } fn glx_get_histogram_parameterfv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetHistogramParameterfvReply>> { ... } fn glx_get_histogram_parameterfv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetHistogramParameterfvReply> { ... } fn glx_get_histogram_parameteriv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetHistogramParameterivReply>> { ... } fn glx_get_histogram_parameteriv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetHistogramParameterivReply> { ... } fn glx_get_minmax(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        format: u32,
        type_: u32,
        swap_bytes: bool,
        reset: bool
    ) -> Result<Cookie<GetMinmaxReply>> { ... } fn glx_get_minmax_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        format: u32,
        type_: u32,
        swap_bytes: bool,
        reset: bool
    ) -> Result<GetMinmaxReply> { ... } fn glx_get_minmax_parameterfv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetMinmaxParameterfvReply>> { ... } fn glx_get_minmax_parameterfv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetMinmaxParameterfvReply> { ... } fn glx_get_minmax_parameteriv(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetMinmaxParameterivReply>> { ... } fn glx_get_minmax_parameteriv_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetMinmaxParameterivReply> { ... } fn glx_get_compressed_tex_image_arb(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        level: i32
    ) -> Result<Cookie<GetCompressedTexImageARBReply>> { ... } fn glx_get_compressed_tex_image_arb_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        level: i32
    ) -> Result<GetCompressedTexImageARBReply> { ... } fn glx_delete_queries_arb(
        &mut self,
        context_tag: ContextTag,
        ids: impl AsRef<[u32]>
    ) -> Result<Cookie<()>> { ... } fn glx_delete_queries_arb_checked(
        &mut self,
        context_tag: ContextTag,
        ids: impl AsRef<[u32]>
    ) -> Result<()> { ... } fn glx_gen_queries_arb(
        &mut self,
        context_tag: ContextTag,
        n: i32
    ) -> Result<Cookie<GenQueriesARBReply>> { ... } fn glx_gen_queries_arb_immediate(
        &mut self,
        context_tag: ContextTag,
        n: i32
    ) -> Result<GenQueriesARBReply> { ... } fn glx_is_query_arb(
        &mut self,
        context_tag: ContextTag,
        id: u32
    ) -> Result<Cookie<IsQueryARBReply>> { ... } fn glx_is_query_arb_immediate(
        &mut self,
        context_tag: ContextTag,
        id: u32
    ) -> Result<IsQueryARBReply> { ... } fn glx_get_queryiv_arb(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<Cookie<GetQueryivARBReply>> { ... } fn glx_get_queryiv_arb_immediate(
        &mut self,
        context_tag: ContextTag,
        target: u32,
        pname: u32
    ) -> Result<GetQueryivARBReply> { ... } fn glx_get_query_objectiv_arb(
        &mut self,
        context_tag: ContextTag,
        id: u32,
        pname: u32
    ) -> Result<Cookie<GetQueryObjectivARBReply>> { ... } fn glx_get_query_objectiv_arb_immediate(
        &mut self,
        context_tag: ContextTag,
        id: u32,
        pname: u32
    ) -> Result<GetQueryObjectivARBReply> { ... } fn glx_get_query_objectuiv_arb(
        &mut self,
        context_tag: ContextTag,
        id: u32,
        pname: u32
    ) -> Result<Cookie<GetQueryObjectuivARBReply>> { ... } fn glx_get_query_objectuiv_arb_immediate(
        &mut self,
        context_tag: ContextTag,
        id: u32,
        pname: u32
    ) -> Result<GetQueryObjectuivARBReply> { ... } fn present_query_version(
        &mut self,
        major_version: u32,
        minor_version: u32
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn present_query_version_immediate(
        &mut self,
        major_version: u32,
        minor_version: u32
    ) -> Result<QueryVersionReply> { ... } fn present_pixmap(
        &mut self,
        window: Window,
        pixmap: Pixmap,
        serial: u32,
        valid: Region,
        update: Region,
        x_off: i16,
        y_off: i16,
        target_crtc: Crtc,
        wait_fence: Fence,
        idle_fence: Fence,
        options: u32,
        target_msc: u64,
        divisor: u64,
        remainder: u64,
        notifies: impl AsRef<[Notify]>
    ) -> Result<Cookie<()>> { ... } fn present_pixmap_checked(
        &mut self,
        window: Window,
        pixmap: Pixmap,
        serial: u32,
        valid: Region,
        update: Region,
        x_off: i16,
        y_off: i16,
        target_crtc: Crtc,
        wait_fence: Fence,
        idle_fence: Fence,
        options: u32,
        target_msc: u64,
        divisor: u64,
        remainder: u64,
        notifies: impl AsRef<[Notify]>
    ) -> Result<()> { ... } fn present_notify_msc(
        &mut self,
        window: Window,
        serial: u32,
        target_msc: u64,
        divisor: u64,
        remainder: u64
    ) -> Result<Cookie<()>> { ... } fn present_notify_msc_checked(
        &mut self,
        window: Window,
        serial: u32,
        target_msc: u64,
        divisor: u64,
        remainder: u64
    ) -> Result<()> { ... } fn present_select_input(
        &mut self,
        eid: Event,
        window: Window,
        event_mask: impl Into<EventMask>
    ) -> Result<Cookie<()>> { ... } fn present_select_input_checked(
        &mut self,
        eid: Event,
        window: Window,
        event_mask: impl Into<EventMask>
    ) -> Result<()> { ... } fn present_query_capabilities(
        &mut self,
        target: u32
    ) -> Result<Cookie<QueryCapabilitiesReply>> { ... } fn present_query_capabilities_immediate(
        &mut self,
        target: u32
    ) -> Result<QueryCapabilitiesReply> { ... } fn randr_query_version(
        &mut self,
        major_version: u32,
        minor_version: u32
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn randr_query_version_immediate(
        &mut self,
        major_version: u32,
        minor_version: u32
    ) -> Result<QueryVersionReply> { ... } fn randr_set_screen_config(
        &mut self,
        window: Window,
        timestamp: Timestamp,
        config_timestamp: Timestamp,
        size_id: u16,
        rotation: impl Into<Rotation>,
        rate: u16
    ) -> Result<Cookie<SetScreenConfigReply>> { ... } fn randr_set_screen_config_immediate(
        &mut self,
        window: Window,
        timestamp: Timestamp,
        config_timestamp: Timestamp,
        size_id: u16,
        rotation: impl Into<Rotation>,
        rate: u16
    ) -> Result<SetScreenConfigReply> { ... } fn randr_select_input(
        &mut self,
        window: Window,
        enable: impl Into<NotifyMask>
    ) -> Result<Cookie<()>> { ... } fn randr_select_input_checked(
        &mut self,
        window: Window,
        enable: impl Into<NotifyMask>
    ) -> Result<()> { ... } fn randr_get_screen_info(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetScreenInfoReply>> { ... } fn randr_get_screen_info_immediate(
        &mut self,
        window: Window
    ) -> Result<GetScreenInfoReply> { ... } fn randr_get_screen_size_range(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetScreenSizeRangeReply>> { ... } fn randr_get_screen_size_range_immediate(
        &mut self,
        window: Window
    ) -> Result<GetScreenSizeRangeReply> { ... } fn randr_set_screen_size(
        &mut self,
        window: Window,
        width: u16,
        height: u16,
        mm_width: u32,
        mm_height: u32
    ) -> Result<Cookie<()>> { ... } fn randr_set_screen_size_checked(
        &mut self,
        window: Window,
        width: u16,
        height: u16,
        mm_width: u32,
        mm_height: u32
    ) -> Result<()> { ... } fn randr_get_screen_resources(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetScreenResourcesReply>> { ... } fn randr_get_screen_resources_immediate(
        &mut self,
        window: Window
    ) -> Result<GetScreenResourcesReply> { ... } fn randr_get_output_info(
        &mut self,
        output: Output,
        config_timestamp: Timestamp
    ) -> Result<Cookie<GetOutputInfoReply>> { ... } fn randr_get_output_info_immediate(
        &mut self,
        output: Output,
        config_timestamp: Timestamp
    ) -> Result<GetOutputInfoReply> { ... } fn randr_list_output_properties(
        &mut self,
        output: Output
    ) -> Result<Cookie<ListOutputPropertiesReply>> { ... } fn randr_list_output_properties_immediate(
        &mut self,
        output: Output
    ) -> Result<ListOutputPropertiesReply> { ... } fn randr_query_output_property(
        &mut self,
        output: Output,
        property: Atom
    ) -> Result<Cookie<QueryOutputPropertyReply>> { ... } fn randr_query_output_property_immediate(
        &mut self,
        output: Output,
        property: Atom
    ) -> Result<QueryOutputPropertyReply> { ... } fn randr_configure_output_property(
        &mut self,
        output: Output,
        property: Atom,
        pending: bool,
        range: bool,
        values: impl AsRef<[i32]>
    ) -> Result<Cookie<()>> { ... } fn randr_configure_output_property_checked(
        &mut self,
        output: Output,
        property: Atom,
        pending: bool,
        range: bool,
        values: impl AsRef<[i32]>
    ) -> Result<()> { ... } fn randr_change_output_property(
        &mut self,
        output: Output,
        property: Atom,
        type_: Atom,
        format: u8,
        mode: PropMode,
        num_units: u32,
        data: &impl Void + ?Sized
    ) -> Result<Cookie<()>> { ... } fn randr_change_output_property_checked(
        &mut self,
        output: Output,
        property: Atom,
        type_: Atom,
        format: u8,
        mode: PropMode,
        num_units: u32,
        data: &impl Void + ?Sized
    ) -> Result<()> { ... } fn randr_delete_output_property(
        &mut self,
        output: Output,
        property: Atom
    ) -> Result<Cookie<()>> { ... } fn randr_delete_output_property_checked(
        &mut self,
        output: Output,
        property: Atom
    ) -> Result<()> { ... } fn randr_get_output_property(
        &mut self,
        output: Output,
        property: Atom,
        type_: impl Into<GetPropertyType>,
        long_offset: u32,
        long_length: u32,
        delete: bool,
        pending: bool
    ) -> Result<Cookie<GetOutputPropertyReply>> { ... } fn randr_get_output_property_immediate(
        &mut self,
        output: Output,
        property: Atom,
        type_: impl Into<GetPropertyType>,
        long_offset: u32,
        long_length: u32,
        delete: bool,
        pending: bool
    ) -> Result<GetOutputPropertyReply> { ... } fn randr_create_mode(
        &mut self,
        window: Window,
        mode_info: ModeInfo,
        name: impl AsRef<[u8]>
    ) -> Result<Cookie<CreateModeReply>> { ... } fn randr_create_mode_immediate(
        &mut self,
        window: Window,
        mode_info: ModeInfo,
        name: impl AsRef<[u8]>
    ) -> Result<CreateModeReply> { ... } fn randr_destroy_mode(&mut self, mode: Mode) -> Result<Cookie<()>> { ... } fn randr_destroy_mode_checked(&mut self, mode: Mode) -> Result<()> { ... } fn randr_add_output_mode(
        &mut self,
        output: Output,
        mode: Mode
    ) -> Result<Cookie<()>> { ... } fn randr_add_output_mode_checked(
        &mut self,
        output: Output,
        mode: Mode
    ) -> Result<()> { ... } fn randr_delete_output_mode(
        &mut self,
        output: Output,
        mode: Mode
    ) -> Result<Cookie<()>> { ... } fn randr_delete_output_mode_checked(
        &mut self,
        output: Output,
        mode: Mode
    ) -> Result<()> { ... } fn randr_get_crtc_info(
        &mut self,
        crtc: Crtc,
        config_timestamp: Timestamp
    ) -> Result<Cookie<GetCrtcInfoReply>> { ... } fn randr_get_crtc_info_immediate(
        &mut self,
        crtc: Crtc,
        config_timestamp: Timestamp
    ) -> Result<GetCrtcInfoReply> { ... } fn randr_set_crtc_config(
        &mut self,
        crtc: Crtc,
        timestamp: Timestamp,
        config_timestamp: Timestamp,
        x: i16,
        y: i16,
        mode: Mode,
        rotation: impl Into<Rotation>,
        outputs: impl AsRef<[Output]>
    ) -> Result<Cookie<SetCrtcConfigReply>> { ... } fn randr_set_crtc_config_immediate(
        &mut self,
        crtc: Crtc,
        timestamp: Timestamp,
        config_timestamp: Timestamp,
        x: i16,
        y: i16,
        mode: Mode,
        rotation: impl Into<Rotation>,
        outputs: impl AsRef<[Output]>
    ) -> Result<SetCrtcConfigReply> { ... } fn randr_get_crtc_gamma_size(
        &mut self,
        crtc: Crtc
    ) -> Result<Cookie<GetCrtcGammaSizeReply>> { ... } fn randr_get_crtc_gamma_size_immediate(
        &mut self,
        crtc: Crtc
    ) -> Result<GetCrtcGammaSizeReply> { ... } fn randr_get_crtc_gamma(
        &mut self,
        crtc: Crtc
    ) -> Result<Cookie<GetCrtcGammaReply>> { ... } fn randr_get_crtc_gamma_immediate(
        &mut self,
        crtc: Crtc
    ) -> Result<GetCrtcGammaReply> { ... } fn randr_set_crtc_gamma(
        &mut self,
        crtc: Crtc,
        red: impl AsRef<[u16]>,
        green: impl AsRef<[u16]>,
        blue: impl AsRef<[u16]>
    ) -> Result<Cookie<()>> { ... } fn randr_set_crtc_gamma_checked(
        &mut self,
        crtc: Crtc,
        red: impl AsRef<[u16]>,
        green: impl AsRef<[u16]>,
        blue: impl AsRef<[u16]>
    ) -> Result<()> { ... } fn randr_get_screen_resources_current(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetScreenResourcesCurrentReply>> { ... } fn randr_get_screen_resources_current_immediate(
        &mut self,
        window: Window
    ) -> Result<GetScreenResourcesCurrentReply> { ... } fn randr_set_crtc_transform(
        &mut self,
        crtc: Crtc,
        transform: Transform,
        filter_name: impl AsRef<[u8]>,
        filter_params: impl AsRef<[Fixed]>
    ) -> Result<Cookie<()>> { ... } fn randr_set_crtc_transform_checked(
        &mut self,
        crtc: Crtc,
        transform: Transform,
        filter_name: impl AsRef<[u8]>,
        filter_params: impl AsRef<[Fixed]>
    ) -> Result<()> { ... } fn randr_get_crtc_transform(
        &mut self,
        crtc: Crtc
    ) -> Result<Cookie<GetCrtcTransformReply>> { ... } fn randr_get_crtc_transform_immediate(
        &mut self,
        crtc: Crtc
    ) -> Result<GetCrtcTransformReply> { ... } fn randr_get_panning(
        &mut self,
        crtc: Crtc
    ) -> Result<Cookie<GetPanningReply>> { ... } fn randr_get_panning_immediate(
        &mut self,
        crtc: Crtc
    ) -> Result<GetPanningReply> { ... } fn randr_set_panning(
        &mut self,
        crtc: Crtc,
        timestamp: Timestamp,
        left: u16,
        top: u16,
        width: u16,
        height: u16,
        track_left: u16,
        track_top: u16,
        track_width: u16,
        track_height: u16,
        border_left: i16,
        border_top: i16,
        border_right: i16,
        border_bottom: i16
    ) -> Result<Cookie<SetPanningReply>> { ... } fn randr_set_panning_immediate(
        &mut self,
        crtc: Crtc,
        timestamp: Timestamp,
        left: u16,
        top: u16,
        width: u16,
        height: u16,
        track_left: u16,
        track_top: u16,
        track_width: u16,
        track_height: u16,
        border_left: i16,
        border_top: i16,
        border_right: i16,
        border_bottom: i16
    ) -> Result<SetPanningReply> { ... } fn randr_set_output_primary(
        &mut self,
        window: Window,
        output: Output
    ) -> Result<Cookie<()>> { ... } fn randr_set_output_primary_checked(
        &mut self,
        window: Window,
        output: Output
    ) -> Result<()> { ... } fn randr_get_output_primary(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetOutputPrimaryReply>> { ... } fn randr_get_output_primary_immediate(
        &mut self,
        window: Window
    ) -> Result<GetOutputPrimaryReply> { ... } fn randr_get_providers(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetProvidersReply>> { ... } fn randr_get_providers_immediate(
        &mut self,
        window: Window
    ) -> Result<GetProvidersReply> { ... } fn randr_get_provider_info(
        &mut self,
        provider: Provider,
        config_timestamp: Timestamp
    ) -> Result<Cookie<GetProviderInfoReply>> { ... } fn randr_get_provider_info_immediate(
        &mut self,
        provider: Provider,
        config_timestamp: Timestamp
    ) -> Result<GetProviderInfoReply> { ... } fn randr_set_provider_offload_sink(
        &mut self,
        provider: Provider,
        sink_provider: Provider,
        config_timestamp: Timestamp
    ) -> Result<Cookie<()>> { ... } fn randr_set_provider_offload_sink_checked(
        &mut self,
        provider: Provider,
        sink_provider: Provider,
        config_timestamp: Timestamp
    ) -> Result<()> { ... } fn randr_set_provider_output_source(
        &mut self,
        provider: Provider,
        source_provider: Provider,
        config_timestamp: Timestamp
    ) -> Result<Cookie<()>> { ... } fn randr_set_provider_output_source_checked(
        &mut self,
        provider: Provider,
        source_provider: Provider,
        config_timestamp: Timestamp
    ) -> Result<()> { ... } fn randr_list_provider_properties(
        &mut self,
        provider: Provider
    ) -> Result<Cookie<ListProviderPropertiesReply>> { ... } fn randr_list_provider_properties_immediate(
        &mut self,
        provider: Provider
    ) -> Result<ListProviderPropertiesReply> { ... } fn randr_query_provider_property(
        &mut self,
        provider: Provider,
        property: Atom
    ) -> Result<Cookie<QueryProviderPropertyReply>> { ... } fn randr_query_provider_property_immediate(
        &mut self,
        provider: Provider,
        property: Atom
    ) -> Result<QueryProviderPropertyReply> { ... } fn randr_configure_provider_property(
        &mut self,
        provider: Provider,
        property: Atom,
        pending: bool,
        range: bool,
        values: impl AsRef<[i32]>
    ) -> Result<Cookie<()>> { ... } fn randr_configure_provider_property_checked(
        &mut self,
        provider: Provider,
        property: Atom,
        pending: bool,
        range: bool,
        values: impl AsRef<[i32]>
    ) -> Result<()> { ... } fn randr_change_provider_property(
        &mut self,
        provider: Provider,
        property: Atom,
        type_: Atom,
        format: u8,
        mode: u8,
        num_items: u32,
        data: &impl Void + ?Sized
    ) -> Result<Cookie<()>> { ... } fn randr_change_provider_property_checked(
        &mut self,
        provider: Provider,
        property: Atom,
        type_: Atom,
        format: u8,
        mode: u8,
        num_items: u32,
        data: &impl Void + ?Sized
    ) -> Result<()> { ... } fn randr_delete_provider_property(
        &mut self,
        provider: Provider,
        property: Atom
    ) -> Result<Cookie<()>> { ... } fn randr_delete_provider_property_checked(
        &mut self,
        provider: Provider,
        property: Atom
    ) -> Result<()> { ... } fn randr_get_provider_property(
        &mut self,
        provider: Provider,
        property: Atom,
        type_: Atom,
        long_offset: u32,
        long_length: u32,
        delete: bool,
        pending: bool
    ) -> Result<Cookie<GetProviderPropertyReply>> { ... } fn randr_get_provider_property_immediate(
        &mut self,
        provider: Provider,
        property: Atom,
        type_: Atom,
        long_offset: u32,
        long_length: u32,
        delete: bool,
        pending: bool
    ) -> Result<GetProviderPropertyReply> { ... } fn randr_get_monitors(
        &mut self,
        window: Window,
        get_active: bool
    ) -> Result<Cookie<GetMonitorsReply>> { ... } fn randr_get_monitors_immediate(
        &mut self,
        window: Window,
        get_active: bool
    ) -> Result<GetMonitorsReply> { ... } fn randr_set_monitor(
        &mut self,
        window: Window,
        monitorinfo: MonitorInfo
    ) -> Result<Cookie<()>> { ... } fn randr_set_monitor_checked(
        &mut self,
        window: Window,
        monitorinfo: MonitorInfo
    ) -> Result<()> { ... } fn randr_delete_monitor(
        &mut self,
        window: Window,
        name: Atom
    ) -> Result<Cookie<()>> { ... } fn randr_delete_monitor_checked(
        &mut self,
        window: Window,
        name: Atom
    ) -> Result<()> { ... } fn randr_create_lease(
        &mut self,
        window: Window,
        lid: Lease,
        crtcs: impl AsRef<[Crtc]>,
        outputs: impl AsRef<[Output]>
    ) -> Result<Cookie<CreateLeaseReply>> { ... } fn randr_create_lease_immediate(
        &mut self,
        window: Window,
        lid: Lease,
        crtcs: impl AsRef<[Crtc]>,
        outputs: impl AsRef<[Output]>
    ) -> Result<CreateLeaseReply> { ... } fn randr_free_lease(
        &mut self,
        lid: Lease,
        terminate: u8
    ) -> Result<Cookie<()>> { ... } fn randr_free_lease_checked(
        &mut self,
        lid: Lease,
        terminate: u8
    ) -> Result<()> { ... } fn record_query_version(
        &mut self,
        major_version: u16,
        minor_version: u16
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn record_query_version_immediate(
        &mut self,
        major_version: u16,
        minor_version: u16
    ) -> Result<QueryVersionReply> { ... } fn record_create_context(
        &mut self,
        context: Context,
        element_header: ElementHeader,
        client_specs: impl AsRef<[ClientSpec]>,
        ranges: impl AsRef<[Range]>
    ) -> Result<Cookie<()>> { ... } fn record_create_context_checked(
        &mut self,
        context: Context,
        element_header: ElementHeader,
        client_specs: impl AsRef<[ClientSpec]>,
        ranges: impl AsRef<[Range]>
    ) -> Result<()> { ... } fn record_register_clients(
        &mut self,
        context: Context,
        element_header: ElementHeader,
        client_specs: impl AsRef<[ClientSpec]>,
        ranges: impl AsRef<[Range]>
    ) -> Result<Cookie<()>> { ... } fn record_register_clients_checked(
        &mut self,
        context: Context,
        element_header: ElementHeader,
        client_specs: impl AsRef<[ClientSpec]>,
        ranges: impl AsRef<[Range]>
    ) -> Result<()> { ... } fn record_unregister_clients(
        &mut self,
        context: Context,
        client_specs: impl AsRef<[ClientSpec]>
    ) -> Result<Cookie<()>> { ... } fn record_unregister_clients_checked(
        &mut self,
        context: Context,
        client_specs: impl AsRef<[ClientSpec]>
    ) -> Result<()> { ... } fn record_get_context(
        &mut self,
        context: Context
    ) -> Result<Cookie<GetContextReply>> { ... } fn record_get_context_immediate(
        &mut self,
        context: Context
    ) -> Result<GetContextReply> { ... } fn record_enable_context(
        &mut self,
        context: Context
    ) -> Result<Cookie<EnableContextReply>> { ... } fn record_enable_context_immediate(
        &mut self,
        context: Context
    ) -> Result<EnableContextReply> { ... } fn record_disable_context(&mut self, context: Context) -> Result<Cookie<()>> { ... } fn record_disable_context_checked(&mut self, context: Context) -> Result<()> { ... } fn record_free_context(&mut self, context: Context) -> Result<Cookie<()>> { ... } fn record_free_context_checked(&mut self, context: Context) -> Result<()> { ... } fn render_query_version(
        &mut self,
        client_major_version: u32,
        client_minor_version: u32
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn render_query_version_immediate(
        &mut self,
        client_major_version: u32,
        client_minor_version: u32
    ) -> Result<QueryVersionReply> { ... } fn render_query_pict_formats(
        &mut self
    ) -> Result<Cookie<QueryPictFormatsReply>> { ... } fn render_query_pict_formats_immediate(
        &mut self
    ) -> Result<QueryPictFormatsReply> { ... } fn render_query_pict_index_values(
        &mut self,
        format: Pictformat
    ) -> Result<Cookie<QueryPictIndexValuesReply>> { ... } fn render_query_pict_index_values_immediate(
        &mut self,
        format: Pictformat
    ) -> Result<QueryPictIndexValuesReply> { ... } fn render_create_picture(
        &mut self,
        pid: Picture,
        drawable: Drawable,
        format: Pictformat,
        value_list: impl Borrow<CreatePictureAux>
    ) -> Result<Cookie<()>> { ... } fn render_create_picture_checked(
        &mut self,
        pid: Picture,
        drawable: Drawable,
        format: Pictformat,
        value_list: impl Borrow<CreatePictureAux>
    ) -> Result<()> { ... } fn render_change_picture(
        &mut self,
        picture: Picture,
        value_list: impl Borrow<ChangePictureAux>
    ) -> Result<Cookie<()>> { ... } fn render_change_picture_checked(
        &mut self,
        picture: Picture,
        value_list: impl Borrow<ChangePictureAux>
    ) -> Result<()> { ... } fn render_set_picture_clip_rectangles(
        &mut self,
        picture: Picture,
        clip_x_origin: i16,
        clip_y_origin: i16,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<Cookie<()>> { ... } fn render_set_picture_clip_rectangles_checked(
        &mut self,
        picture: Picture,
        clip_x_origin: i16,
        clip_y_origin: i16,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<()> { ... } fn render_free_picture(&mut self, picture: Picture) -> Result<Cookie<()>> { ... } fn render_free_picture_checked(&mut self, picture: Picture) -> Result<()> { ... } fn render_composite(
        &mut self,
        op: PictOp,
        src: Picture,
        mask: impl Into<Picture>,
        dst: Picture,
        src_x: i16,
        src_y: i16,
        mask_x: i16,
        mask_y: i16,
        dst_x: i16,
        dst_y: i16,
        width: u16,
        height: u16
    ) -> Result<Cookie<()>> { ... } fn render_composite_checked(
        &mut self,
        op: PictOp,
        src: Picture,
        mask: impl Into<Picture>,
        dst: Picture,
        src_x: i16,
        src_y: i16,
        mask_x: i16,
        mask_y: i16,
        dst_x: i16,
        dst_y: i16,
        width: u16,
        height: u16
    ) -> Result<()> { ... } fn render_trapezoids(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        src_x: i16,
        src_y: i16,
        traps: impl AsRef<[Trapezoid]>
    ) -> Result<Cookie<()>> { ... } fn render_trapezoids_checked(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        src_x: i16,
        src_y: i16,
        traps: impl AsRef<[Trapezoid]>
    ) -> Result<()> { ... } fn render_triangles(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        src_x: i16,
        src_y: i16,
        triangles: impl AsRef<[Triangle]>
    ) -> Result<Cookie<()>> { ... } fn render_triangles_checked(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        src_x: i16,
        src_y: i16,
        triangles: impl AsRef<[Triangle]>
    ) -> Result<()> { ... } fn render_tri_strip(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        src_x: i16,
        src_y: i16,
        points: impl AsRef<[Pointfix]>
    ) -> Result<Cookie<()>> { ... } fn render_tri_strip_checked(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        src_x: i16,
        src_y: i16,
        points: impl AsRef<[Pointfix]>
    ) -> Result<()> { ... } fn render_tri_fan(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        src_x: i16,
        src_y: i16,
        points: impl AsRef<[Pointfix]>
    ) -> Result<Cookie<()>> { ... } fn render_tri_fan_checked(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        src_x: i16,
        src_y: i16,
        points: impl AsRef<[Pointfix]>
    ) -> Result<()> { ... } fn render_create_glyph_set(
        &mut self,
        gsid: Glyphset,
        format: Pictformat
    ) -> Result<Cookie<()>> { ... } fn render_create_glyph_set_checked(
        &mut self,
        gsid: Glyphset,
        format: Pictformat
    ) -> Result<()> { ... } fn render_reference_glyph_set(
        &mut self,
        gsid: Glyphset,
        existing: Glyphset
    ) -> Result<Cookie<()>> { ... } fn render_reference_glyph_set_checked(
        &mut self,
        gsid: Glyphset,
        existing: Glyphset
    ) -> Result<()> { ... } fn render_free_glyph_set(
        &mut self,
        glyphset: Glyphset
    ) -> Result<Cookie<()>> { ... } fn render_free_glyph_set_checked(
        &mut self,
        glyphset: Glyphset
    ) -> Result<()> { ... } fn render_add_glyphs(
        &mut self,
        glyphset: Glyphset,
        glyphids: impl AsRef<[u32]>,
        glyphs: impl AsRef<[Glyphinfo]>,
        data: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn render_add_glyphs_checked(
        &mut self,
        glyphset: Glyphset,
        glyphids: impl AsRef<[u32]>,
        glyphs: impl AsRef<[Glyphinfo]>,
        data: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn render_free_glyphs(
        &mut self,
        glyphset: Glyphset,
        glyphs: impl AsRef<[Glyph]>
    ) -> Result<Cookie<()>> { ... } fn render_free_glyphs_checked(
        &mut self,
        glyphset: Glyphset,
        glyphs: impl AsRef<[Glyph]>
    ) -> Result<()> { ... } fn render_composite_glyphs8(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        glyphset: Glyphset,
        src_x: i16,
        src_y: i16,
        glyphcmds: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn render_composite_glyphs8_checked(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        glyphset: Glyphset,
        src_x: i16,
        src_y: i16,
        glyphcmds: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn render_composite_glyphs16(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        glyphset: Glyphset,
        src_x: i16,
        src_y: i16,
        glyphcmds: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn render_composite_glyphs16_checked(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        glyphset: Glyphset,
        src_x: i16,
        src_y: i16,
        glyphcmds: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn render_composite_glyphs32(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        glyphset: Glyphset,
        src_x: i16,
        src_y: i16,
        glyphcmds: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn render_composite_glyphs32_checked(
        &mut self,
        op: PictOp,
        src: Picture,
        dst: Picture,
        mask_format: Pictformat,
        glyphset: Glyphset,
        src_x: i16,
        src_y: i16,
        glyphcmds: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn render_fill_rectangles(
        &mut self,
        op: PictOp,
        dst: Picture,
        color: Color,
        rects: impl AsRef<[Rectangle]>
    ) -> Result<Cookie<()>> { ... } fn render_fill_rectangles_checked(
        &mut self,
        op: PictOp,
        dst: Picture,
        color: Color,
        rects: impl AsRef<[Rectangle]>
    ) -> Result<()> { ... } fn render_create_cursor(
        &mut self,
        cid: Cursor,
        source: Picture,
        x: u16,
        y: u16
    ) -> Result<Cookie<()>> { ... } fn render_create_cursor_checked(
        &mut self,
        cid: Cursor,
        source: Picture,
        x: u16,
        y: u16
    ) -> Result<()> { ... } fn render_set_picture_transform(
        &mut self,
        picture: Picture,
        transform: Transform
    ) -> Result<Cookie<()>> { ... } fn render_set_picture_transform_checked(
        &mut self,
        picture: Picture,
        transform: Transform
    ) -> Result<()> { ... } fn render_query_filters(
        &mut self,
        drawable: Drawable
    ) -> Result<Cookie<QueryFiltersReply>> { ... } fn render_query_filters_immediate(
        &mut self,
        drawable: Drawable
    ) -> Result<QueryFiltersReply> { ... } fn render_set_picture_filter(
        &mut self,
        picture: Picture,
        filter: impl AsRef<[u8]>,
        values: impl AsRef<[Fixed]>
    ) -> Result<Cookie<()>> { ... } fn render_set_picture_filter_checked(
        &mut self,
        picture: Picture,
        filter: impl AsRef<[u8]>,
        values: impl AsRef<[Fixed]>
    ) -> Result<()> { ... } fn render_create_anim_cursor(
        &mut self,
        cid: Cursor,
        cursors: impl AsRef<[Animcursorelt]>
    ) -> Result<Cookie<()>> { ... } fn render_create_anim_cursor_checked(
        &mut self,
        cid: Cursor,
        cursors: impl AsRef<[Animcursorelt]>
    ) -> Result<()> { ... } fn render_add_traps(
        &mut self,
        picture: Picture,
        x_off: i16,
        y_off: i16,
        traps: impl AsRef<[Trap]>
    ) -> Result<Cookie<()>> { ... } fn render_add_traps_checked(
        &mut self,
        picture: Picture,
        x_off: i16,
        y_off: i16,
        traps: impl AsRef<[Trap]>
    ) -> Result<()> { ... } fn render_create_solid_fill(
        &mut self,
        picture: Picture,
        color: Color
    ) -> Result<Cookie<()>> { ... } fn render_create_solid_fill_checked(
        &mut self,
        picture: Picture,
        color: Color
    ) -> Result<()> { ... } fn render_create_linear_gradient(
        &mut self,
        picture: Picture,
        p1: Pointfix,
        p2: Pointfix,
        stops: impl AsRef<[Fixed]>,
        colors: impl AsRef<[Color]>
    ) -> Result<Cookie<()>> { ... } fn render_create_linear_gradient_checked(
        &mut self,
        picture: Picture,
        p1: Pointfix,
        p2: Pointfix,
        stops: impl AsRef<[Fixed]>,
        colors: impl AsRef<[Color]>
    ) -> Result<()> { ... } fn render_create_radial_gradient(
        &mut self,
        picture: Picture,
        inner: Pointfix,
        outer: Pointfix,
        inner_radius: Fixed,
        outer_radius: Fixed,
        stops: impl AsRef<[Fixed]>,
        colors: impl AsRef<[Color]>
    ) -> Result<Cookie<()>> { ... } fn render_create_radial_gradient_checked(
        &mut self,
        picture: Picture,
        inner: Pointfix,
        outer: Pointfix,
        inner_radius: Fixed,
        outer_radius: Fixed,
        stops: impl AsRef<[Fixed]>,
        colors: impl AsRef<[Color]>
    ) -> Result<()> { ... } fn render_create_conical_gradient(
        &mut self,
        picture: Picture,
        center: Pointfix,
        angle: Fixed,
        stops: impl AsRef<[Fixed]>,
        colors: impl AsRef<[Color]>
    ) -> Result<Cookie<()>> { ... } fn render_create_conical_gradient_checked(
        &mut self,
        picture: Picture,
        center: Pointfix,
        angle: Fixed,
        stops: impl AsRef<[Fixed]>,
        colors: impl AsRef<[Color]>
    ) -> Result<()> { ... } fn res_query_version(
        &mut self,
        client_major: u8,
        client_minor: u8
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn res_query_version_immediate(
        &mut self,
        client_major: u8,
        client_minor: u8
    ) -> Result<QueryVersionReply> { ... } fn res_query_clients(&mut self) -> Result<Cookie<QueryClientsReply>> { ... } fn res_query_clients_immediate(&mut self) -> Result<QueryClientsReply> { ... } fn res_query_client_resources(
        &mut self,
        xid: u32
    ) -> Result<Cookie<QueryClientResourcesReply>> { ... } fn res_query_client_resources_immediate(
        &mut self,
        xid: u32
    ) -> Result<QueryClientResourcesReply> { ... } fn res_query_client_pixmap_bytes(
        &mut self,
        xid: u32
    ) -> Result<Cookie<QueryClientPixmapBytesReply>> { ... } fn res_query_client_pixmap_bytes_immediate(
        &mut self,
        xid: u32
    ) -> Result<QueryClientPixmapBytesReply> { ... } fn res_query_client_ids(
        &mut self,
        specs: impl AsRef<[ClientIdSpec]>
    ) -> Result<Cookie<QueryClientIdsReply>> { ... } fn res_query_client_ids_immediate(
        &mut self,
        specs: impl AsRef<[ClientIdSpec]>
    ) -> Result<QueryClientIdsReply> { ... } fn res_query_resource_bytes(
        &mut self,
        client: u32,
        specs: impl AsRef<[ResourceIdSpec]>
    ) -> Result<Cookie<QueryResourceBytesReply>> { ... } fn res_query_resource_bytes_immediate(
        &mut self,
        client: u32,
        specs: impl AsRef<[ResourceIdSpec]>
    ) -> Result<QueryResourceBytesReply> { ... } fn screensaver_query_version(
        &mut self,
        client_major_version: u8,
        client_minor_version: u8
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn screensaver_query_version_immediate(
        &mut self,
        client_major_version: u8,
        client_minor_version: u8
    ) -> Result<QueryVersionReply> { ... } fn screensaver_query_info(
        &mut self,
        drawable: Drawable
    ) -> Result<Cookie<QueryInfoReply>> { ... } fn screensaver_query_info_immediate(
        &mut self,
        drawable: Drawable
    ) -> Result<QueryInfoReply> { ... } fn screensaver_select_input(
        &mut self,
        drawable: Drawable,
        event_mask: impl Into<Event>
    ) -> Result<Cookie<()>> { ... } fn screensaver_select_input_checked(
        &mut self,
        drawable: Drawable,
        event_mask: impl Into<Event>
    ) -> Result<()> { ... } fn screensaver_set_attributes(
        &mut self,
        drawable: Drawable,
        x: i16,
        y: i16,
        width: u16,
        height: u16,
        border_width: u16,
        class: WindowClass,
        depth: u8,
        visual: Visualid,
        value_list: impl Borrow<SetAttributesAux>
    ) -> Result<Cookie<()>> { ... } fn screensaver_set_attributes_checked(
        &mut self,
        drawable: Drawable,
        x: i16,
        y: i16,
        width: u16,
        height: u16,
        border_width: u16,
        class: WindowClass,
        depth: u8,
        visual: Visualid,
        value_list: impl Borrow<SetAttributesAux>
    ) -> Result<()> { ... } fn screensaver_unset_attributes(
        &mut self,
        drawable: Drawable
    ) -> Result<Cookie<()>> { ... } fn screensaver_unset_attributes_checked(
        &mut self,
        drawable: Drawable
    ) -> Result<()> { ... } fn screensaver_suspend(&mut self, suspend: u32) -> Result<Cookie<()>> { ... } fn screensaver_suspend_checked(&mut self, suspend: u32) -> Result<()> { ... } fn shape_query_version(&mut self) -> Result<Cookie<QueryVersionReply>> { ... } fn shape_query_version_immediate(&mut self) -> Result<QueryVersionReply> { ... } fn shape_rectangles(
        &mut self,
        operation: SO,
        destination_kind: SK,
        ordering: ClipOrdering,
        destination_window: Window,
        x_offset: i16,
        y_offset: i16,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<Cookie<()>> { ... } fn shape_rectangles_checked(
        &mut self,
        operation: SO,
        destination_kind: SK,
        ordering: ClipOrdering,
        destination_window: Window,
        x_offset: i16,
        y_offset: i16,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<()> { ... } fn shape_mask(
        &mut self,
        operation: SO,
        destination_kind: SK,
        destination_window: Window,
        x_offset: i16,
        y_offset: i16,
        source_bitmap: impl Into<Pixmap>
    ) -> Result<Cookie<()>> { ... } fn shape_mask_checked(
        &mut self,
        operation: SO,
        destination_kind: SK,
        destination_window: Window,
        x_offset: i16,
        y_offset: i16,
        source_bitmap: impl Into<Pixmap>
    ) -> Result<()> { ... } fn shape_combine(
        &mut self,
        operation: SO,
        destination_kind: SK,
        source_kind: SK,
        destination_window: Window,
        x_offset: i16,
        y_offset: i16,
        source_window: Window
    ) -> Result<Cookie<()>> { ... } fn shape_combine_checked(
        &mut self,
        operation: SO,
        destination_kind: SK,
        source_kind: SK,
        destination_window: Window,
        x_offset: i16,
        y_offset: i16,
        source_window: Window
    ) -> Result<()> { ... } fn shape_offset(
        &mut self,
        destination_kind: SK,
        destination_window: Window,
        x_offset: i16,
        y_offset: i16
    ) -> Result<Cookie<()>> { ... } fn shape_offset_checked(
        &mut self,
        destination_kind: SK,
        destination_window: Window,
        x_offset: i16,
        y_offset: i16
    ) -> Result<()> { ... } fn shape_query_extents(
        &mut self,
        destination_window: Window
    ) -> Result<Cookie<QueryExtentsReply>> { ... } fn shape_query_extents_immediate(
        &mut self,
        destination_window: Window
    ) -> Result<QueryExtentsReply> { ... } fn shape_select_input(
        &mut self,
        destination_window: Window,
        enable: bool
    ) -> Result<Cookie<()>> { ... } fn shape_select_input_checked(
        &mut self,
        destination_window: Window,
        enable: bool
    ) -> Result<()> { ... } fn shape_input_selected(
        &mut self,
        destination_window: Window
    ) -> Result<Cookie<InputSelectedReply>> { ... } fn shape_input_selected_immediate(
        &mut self,
        destination_window: Window
    ) -> Result<InputSelectedReply> { ... } fn shape_get_rectangles(
        &mut self,
        window: Window,
        source_kind: SK
    ) -> Result<Cookie<GetRectanglesReply>> { ... } fn shape_get_rectangles_immediate(
        &mut self,
        window: Window,
        source_kind: SK
    ) -> Result<GetRectanglesReply> { ... } fn shm_query_version(&mut self) -> Result<Cookie<QueryVersionReply>> { ... } fn shm_query_version_immediate(&mut self) -> Result<QueryVersionReply> { ... } fn shm_attach(
        &mut self,
        shmseg: Seg,
        shmid: u32,
        read_only: bool
    ) -> Result<Cookie<()>> { ... } fn shm_attach_checked(
        &mut self,
        shmseg: Seg,
        shmid: u32,
        read_only: bool
    ) -> Result<()> { ... } fn shm_detach(&mut self, shmseg: Seg) -> Result<Cookie<()>> { ... } fn shm_detach_checked(&mut self, shmseg: Seg) -> Result<()> { ... } fn shm_put_image(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        total_width: u16,
        total_height: u16,
        src_x: u16,
        src_y: u16,
        src_width: u16,
        src_height: u16,
        dst_x: i16,
        dst_y: i16,
        depth: u8,
        format: u8,
        send_event: bool,
        shmseg: Seg,
        offset: u32
    ) -> Result<Cookie<()>> { ... } fn shm_put_image_checked(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        total_width: u16,
        total_height: u16,
        src_x: u16,
        src_y: u16,
        src_width: u16,
        src_height: u16,
        dst_x: i16,
        dst_y: i16,
        depth: u8,
        format: u8,
        send_event: bool,
        shmseg: Seg,
        offset: u32
    ) -> Result<()> { ... } fn shm_get_image(
        &mut self,
        drawable: Drawable,
        x: i16,
        y: i16,
        width: u16,
        height: u16,
        plane_mask: u32,
        format: u8,
        shmseg: Seg,
        offset: u32
    ) -> Result<Cookie<GetImageReply>> { ... } fn shm_get_image_immediate(
        &mut self,
        drawable: Drawable,
        x: i16,
        y: i16,
        width: u16,
        height: u16,
        plane_mask: u32,
        format: u8,
        shmseg: Seg,
        offset: u32
    ) -> Result<GetImageReply> { ... } fn shm_create_pixmap(
        &mut self,
        pid: Pixmap,
        drawable: Drawable,
        width: u16,
        height: u16,
        depth: u8,
        shmseg: Seg,
        offset: u32
    ) -> Result<Cookie<()>> { ... } fn shm_create_pixmap_checked(
        &mut self,
        pid: Pixmap,
        drawable: Drawable,
        width: u16,
        height: u16,
        depth: u8,
        shmseg: Seg,
        offset: u32
    ) -> Result<()> { ... } fn shm_attach_fd(
        &mut self,
        shmseg: Seg,
        shm_fd: Fd,
        read_only: bool
    ) -> Result<Cookie<()>> { ... } fn shm_attach_fd_checked(
        &mut self,
        shmseg: Seg,
        shm_fd: Fd,
        read_only: bool
    ) -> Result<()> { ... } fn shm_create_segment(
        &mut self,
        shmseg: Seg,
        size: u32,
        read_only: bool
    ) -> Result<Cookie<CreateSegmentReply>> { ... } fn shm_create_segment_immediate(
        &mut self,
        shmseg: Seg,
        size: u32,
        read_only: bool
    ) -> Result<CreateSegmentReply> { ... } fn sync_initialize(
        &mut self,
        desired_major_version: u8,
        desired_minor_version: u8
    ) -> Result<Cookie<InitializeReply>> { ... } fn sync_initialize_immediate(
        &mut self,
        desired_major_version: u8,
        desired_minor_version: u8
    ) -> Result<InitializeReply> { ... } fn sync_list_system_counters(
        &mut self
    ) -> Result<Cookie<ListSystemCountersReply>> { ... } fn sync_list_system_counters_immediate(
        &mut self
    ) -> Result<ListSystemCountersReply> { ... } fn sync_create_counter(
        &mut self,
        id: Counter,
        initial_value: Int64
    ) -> Result<Cookie<()>> { ... } fn sync_create_counter_checked(
        &mut self,
        id: Counter,
        initial_value: Int64
    ) -> Result<()> { ... } fn sync_destroy_counter(&mut self, counter: Counter) -> Result<Cookie<()>> { ... } fn sync_destroy_counter_checked(&mut self, counter: Counter) -> Result<()> { ... } fn sync_query_counter(
        &mut self,
        counter: Counter
    ) -> Result<Cookie<QueryCounterReply>> { ... } fn sync_query_counter_immediate(
        &mut self,
        counter: Counter
    ) -> Result<QueryCounterReply> { ... } fn sync_await(
        &mut self,
        wait_list: impl AsRef<[Waitcondition]>
    ) -> Result<Cookie<()>> { ... } fn sync_await_checked(
        &mut self,
        wait_list: impl AsRef<[Waitcondition]>
    ) -> Result<()> { ... } fn sync_change_counter(
        &mut self,
        counter: Counter,
        amount: Int64
    ) -> Result<Cookie<()>> { ... } fn sync_change_counter_checked(
        &mut self,
        counter: Counter,
        amount: Int64
    ) -> Result<()> { ... } fn sync_set_counter(
        &mut self,
        counter: Counter,
        value: Int64
    ) -> Result<Cookie<()>> { ... } fn sync_set_counter_checked(
        &mut self,
        counter: Counter,
        value: Int64
    ) -> Result<()> { ... } fn sync_create_alarm(
        &mut self,
        id: Alarm,
        value_list: impl Borrow<CreateAlarmAux>
    ) -> Result<Cookie<()>> { ... } fn sync_create_alarm_checked(
        &mut self,
        id: Alarm,
        value_list: impl Borrow<CreateAlarmAux>
    ) -> Result<()> { ... } fn sync_change_alarm(
        &mut self,
        id: Alarm,
        value_list: impl Borrow<ChangeAlarmAux>
    ) -> Result<Cookie<()>> { ... } fn sync_change_alarm_checked(
        &mut self,
        id: Alarm,
        value_list: impl Borrow<ChangeAlarmAux>
    ) -> Result<()> { ... } fn sync_destroy_alarm(&mut self, alarm: Alarm) -> Result<Cookie<()>> { ... } fn sync_destroy_alarm_checked(&mut self, alarm: Alarm) -> Result<()> { ... } fn sync_query_alarm(
        &mut self,
        alarm: Alarm
    ) -> Result<Cookie<QueryAlarmReply>> { ... } fn sync_query_alarm_immediate(
        &mut self,
        alarm: Alarm
    ) -> Result<QueryAlarmReply> { ... } fn sync_set_priority(
        &mut self,
        id: u32,
        priority: i32
    ) -> Result<Cookie<()>> { ... } fn sync_set_priority_checked(
        &mut self,
        id: u32,
        priority: i32
    ) -> Result<()> { ... } fn sync_get_priority(&mut self, id: u32) -> Result<Cookie<GetPriorityReply>> { ... } fn sync_get_priority_immediate(
        &mut self,
        id: u32
    ) -> Result<GetPriorityReply> { ... } fn sync_create_fence(
        &mut self,
        drawable: Drawable,
        fence: Fence,
        initially_triggered: bool
    ) -> Result<Cookie<()>> { ... } fn sync_create_fence_checked(
        &mut self,
        drawable: Drawable,
        fence: Fence,
        initially_triggered: bool
    ) -> Result<()> { ... } fn sync_trigger_fence(&mut self, fence: Fence) -> Result<Cookie<()>> { ... } fn sync_trigger_fence_checked(&mut self, fence: Fence) -> Result<()> { ... } fn sync_reset_fence(&mut self, fence: Fence) -> Result<Cookie<()>> { ... } fn sync_reset_fence_checked(&mut self, fence: Fence) -> Result<()> { ... } fn sync_destroy_fence(&mut self, fence: Fence) -> Result<Cookie<()>> { ... } fn sync_destroy_fence_checked(&mut self, fence: Fence) -> Result<()> { ... } fn sync_query_fence(
        &mut self,
        fence: Fence
    ) -> Result<Cookie<QueryFenceReply>> { ... } fn sync_query_fence_immediate(
        &mut self,
        fence: Fence
    ) -> Result<QueryFenceReply> { ... } fn sync_await_fence(
        &mut self,
        fence_list: impl AsRef<[Fence]>
    ) -> Result<Cookie<()>> { ... } fn sync_await_fence_checked(
        &mut self,
        fence_list: impl AsRef<[Fence]>
    ) -> Result<()> { ... } fn xc_misc_get_version(
        &mut self,
        client_major_version: u16,
        client_minor_version: u16
    ) -> Result<Cookie<GetVersionReply>> { ... } fn xc_misc_get_version_immediate(
        &mut self,
        client_major_version: u16,
        client_minor_version: u16
    ) -> Result<GetVersionReply> { ... } fn xc_misc_get_xid_range(&mut self) -> Result<Cookie<GetXIDRangeReply>> { ... } fn xc_misc_get_xid_range_immediate(&mut self) -> Result<GetXIDRangeReply> { ... } fn xc_misc_get_xid_list(
        &mut self,
        count: u32
    ) -> Result<Cookie<GetXIDListReply>> { ... } fn xc_misc_get_xid_list_immediate(
        &mut self,
        count: u32
    ) -> Result<GetXIDListReply> { ... } fn xevie_query_version(
        &mut self,
        client_major_version: u16,
        client_minor_version: u16
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn xevie_query_version_immediate(
        &mut self,
        client_major_version: u16,
        client_minor_version: u16
    ) -> Result<QueryVersionReply> { ... } fn xevie_start(&mut self, screen: u32) -> Result<Cookie<StartReply>> { ... } fn xevie_start_immediate(&mut self, screen: u32) -> Result<StartReply> { ... } fn xevie_end(&mut self, cmap: u32) -> Result<Cookie<EndReply>> { ... } fn xevie_end_immediate(&mut self, cmap: u32) -> Result<EndReply> { ... } fn xevie_send(
        &mut self,
        event: Event,
        data_type: u32
    ) -> Result<Cookie<SendReply>> { ... } fn xevie_send_immediate(
        &mut self,
        event: Event,
        data_type: u32
    ) -> Result<SendReply> { ... } fn xevie_select_input(
        &mut self,
        event_mask: u32
    ) -> Result<Cookie<SelectInputReply>> { ... } fn xevie_select_input_immediate(
        &mut self,
        event_mask: u32
    ) -> Result<SelectInputReply> { ... } fn xf86dri_query_version(&mut self) -> Result<Cookie<QueryVersionReply>> { ... } fn xf86dri_query_version_immediate(&mut self) -> Result<QueryVersionReply> { ... } fn xf86dri_query_direct_rendering_capable(
        &mut self,
        screen: u32
    ) -> Result<Cookie<QueryDirectRenderingCapableReply>> { ... } fn xf86dri_query_direct_rendering_capable_immediate(
        &mut self,
        screen: u32
    ) -> Result<QueryDirectRenderingCapableReply> { ... } fn xf86dri_open_connection(
        &mut self,
        screen: u32
    ) -> Result<Cookie<OpenConnectionReply>> { ... } fn xf86dri_open_connection_immediate(
        &mut self,
        screen: u32
    ) -> Result<OpenConnectionReply> { ... } fn xf86dri_close_connection(&mut self, screen: u32) -> Result<Cookie<()>> { ... } fn xf86dri_close_connection_checked(&mut self, screen: u32) -> Result<()> { ... } fn xf86dri_get_client_driver_name(
        &mut self,
        screen: u32
    ) -> Result<Cookie<GetClientDriverNameReply>> { ... } fn xf86dri_get_client_driver_name_immediate(
        &mut self,
        screen: u32
    ) -> Result<GetClientDriverNameReply> { ... } fn xf86dri_create_context(
        &mut self,
        screen: u32,
        visual: u32,
        context: u32
    ) -> Result<Cookie<CreateContextReply>> { ... } fn xf86dri_create_context_immediate(
        &mut self,
        screen: u32,
        visual: u32,
        context: u32
    ) -> Result<CreateContextReply> { ... } fn xf86dri_destroy_context(
        &mut self,
        screen: u32,
        context: u32
    ) -> Result<Cookie<()>> { ... } fn xf86dri_destroy_context_checked(
        &mut self,
        screen: u32,
        context: u32
    ) -> Result<()> { ... } fn xf86dri_create_drawable(
        &mut self,
        screen: u32,
        drawable: u32
    ) -> Result<Cookie<CreateDrawableReply>> { ... } fn xf86dri_create_drawable_immediate(
        &mut self,
        screen: u32,
        drawable: u32
    ) -> Result<CreateDrawableReply> { ... } fn xf86dri_destroy_drawable(
        &mut self,
        screen: u32,
        drawable: u32
    ) -> Result<Cookie<()>> { ... } fn xf86dri_destroy_drawable_checked(
        &mut self,
        screen: u32,
        drawable: u32
    ) -> Result<()> { ... } fn xf86dri_get_drawable_info(
        &mut self,
        screen: u32,
        drawable: u32
    ) -> Result<Cookie<GetDrawableInfoReply>> { ... } fn xf86dri_get_drawable_info_immediate(
        &mut self,
        screen: u32,
        drawable: u32
    ) -> Result<GetDrawableInfoReply> { ... } fn xf86dri_get_device_info(
        &mut self,
        screen: u32
    ) -> Result<Cookie<GetDeviceInfoReply>> { ... } fn xf86dri_get_device_info_immediate(
        &mut self,
        screen: u32
    ) -> Result<GetDeviceInfoReply> { ... } fn xf86dri_auth_connection(
        &mut self,
        screen: u32,
        magic: u32
    ) -> Result<Cookie<AuthConnectionReply>> { ... } fn xf86dri_auth_connection_immediate(
        &mut self,
        screen: u32,
        magic: u32
    ) -> Result<AuthConnectionReply> { ... } fn xf86vidmode_query_version(&mut self) -> Result<Cookie<QueryVersionReply>> { ... } fn xf86vidmode_query_version_immediate(
        &mut self
    ) -> Result<QueryVersionReply> { ... } fn xf86vidmode_get_mode_line(
        &mut self,
        screen: u16
    ) -> Result<Cookie<GetModeLineReply>> { ... } fn xf86vidmode_get_mode_line_immediate(
        &mut self,
        screen: u16
    ) -> Result<GetModeLineReply> { ... } fn xf86vidmode_mod_mode_line(
        &mut self,
        screen: u32,
        hdisplay: u16,
        hsyncstart: u16,
        hsyncend: u16,
        htotal: u16,
        hskew: u16,
        vdisplay: u16,
        vsyncstart: u16,
        vsyncend: u16,
        vtotal: u16,
        flags: impl Into<ModeFlag>,
        private: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xf86vidmode_mod_mode_line_checked(
        &mut self,
        screen: u32,
        hdisplay: u16,
        hsyncstart: u16,
        hsyncend: u16,
        htotal: u16,
        hskew: u16,
        vdisplay: u16,
        vsyncstart: u16,
        vsyncend: u16,
        vtotal: u16,
        flags: impl Into<ModeFlag>,
        private: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xf86vidmode_switch_mode(
        &mut self,
        screen: u16,
        zoom: u16
    ) -> Result<Cookie<()>> { ... } fn xf86vidmode_switch_mode_checked(
        &mut self,
        screen: u16,
        zoom: u16
    ) -> Result<()> { ... } fn xf86vidmode_get_monitor(
        &mut self,
        screen: u16
    ) -> Result<Cookie<GetMonitorReply>> { ... } fn xf86vidmode_get_monitor_immediate(
        &mut self,
        screen: u16
    ) -> Result<GetMonitorReply> { ... } fn xf86vidmode_lock_mode_switch(
        &mut self,
        screen: u16,
        lock: u16
    ) -> Result<Cookie<()>> { ... } fn xf86vidmode_lock_mode_switch_checked(
        &mut self,
        screen: u16,
        lock: u16
    ) -> Result<()> { ... } fn xf86vidmode_get_all_mode_lines(
        &mut self,
        screen: u16
    ) -> Result<Cookie<GetAllModeLinesReply>> { ... } fn xf86vidmode_get_all_mode_lines_immediate(
        &mut self,
        screen: u16
    ) -> Result<GetAllModeLinesReply> { ... } fn xf86vidmode_add_mode_line(
        &mut self,
        screen: u32,
        dotclock: Dotclock,
        hdisplay: u16,
        hsyncstart: u16,
        hsyncend: u16,
        htotal: u16,
        hskew: u16,
        vdisplay: u16,
        vsyncstart: u16,
        vsyncend: u16,
        vtotal: u16,
        flags: impl Into<ModeFlag>,
        after_dotclock: Dotclock,
        after_hdisplay: u16,
        after_hsyncstart: u16,
        after_hsyncend: u16,
        after_htotal: u16,
        after_hskew: u16,
        after_vdisplay: u16,
        after_vsyncstart: u16,
        after_vsyncend: u16,
        after_vtotal: u16,
        after_flags: impl Into<ModeFlag>,
        private: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xf86vidmode_add_mode_line_checked(
        &mut self,
        screen: u32,
        dotclock: Dotclock,
        hdisplay: u16,
        hsyncstart: u16,
        hsyncend: u16,
        htotal: u16,
        hskew: u16,
        vdisplay: u16,
        vsyncstart: u16,
        vsyncend: u16,
        vtotal: u16,
        flags: impl Into<ModeFlag>,
        after_dotclock: Dotclock,
        after_hdisplay: u16,
        after_hsyncstart: u16,
        after_hsyncend: u16,
        after_htotal: u16,
        after_hskew: u16,
        after_vdisplay: u16,
        after_vsyncstart: u16,
        after_vsyncend: u16,
        after_vtotal: u16,
        after_flags: impl Into<ModeFlag>,
        private: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xf86vidmode_delete_mode_line(
        &mut self,
        screen: u32,
        dotclock: Dotclock,
        hdisplay: u16,
        hsyncstart: u16,
        hsyncend: u16,
        htotal: u16,
        hskew: u16,
        vdisplay: u16,
        vsyncstart: u16,
        vsyncend: u16,
        vtotal: u16,
        flags: impl Into<ModeFlag>,
        private: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xf86vidmode_delete_mode_line_checked(
        &mut self,
        screen: u32,
        dotclock: Dotclock,
        hdisplay: u16,
        hsyncstart: u16,
        hsyncend: u16,
        htotal: u16,
        hskew: u16,
        vdisplay: u16,
        vsyncstart: u16,
        vsyncend: u16,
        vtotal: u16,
        flags: impl Into<ModeFlag>,
        private: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xf86vidmode_validate_mode_line(
        &mut self,
        screen: u32,
        dotclock: Dotclock,
        hdisplay: u16,
        hsyncstart: u16,
        hsyncend: u16,
        htotal: u16,
        hskew: u16,
        vdisplay: u16,
        vsyncstart: u16,
        vsyncend: u16,
        vtotal: u16,
        flags: impl Into<ModeFlag>,
        private: impl AsRef<[u8]>
    ) -> Result<Cookie<ValidateModeLineReply>> { ... } fn xf86vidmode_validate_mode_line_immediate(
        &mut self,
        screen: u32,
        dotclock: Dotclock,
        hdisplay: u16,
        hsyncstart: u16,
        hsyncend: u16,
        htotal: u16,
        hskew: u16,
        vdisplay: u16,
        vsyncstart: u16,
        vsyncend: u16,
        vtotal: u16,
        flags: impl Into<ModeFlag>,
        private: impl AsRef<[u8]>
    ) -> Result<ValidateModeLineReply> { ... } fn xf86vidmode_switch_to_mode(
        &mut self,
        screen: u32,
        dotclock: Dotclock,
        hdisplay: u16,
        hsyncstart: u16,
        hsyncend: u16,
        htotal: u16,
        hskew: u16,
        vdisplay: u16,
        vsyncstart: u16,
        vsyncend: u16,
        vtotal: u16,
        flags: impl Into<ModeFlag>,
        private: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xf86vidmode_switch_to_mode_checked(
        &mut self,
        screen: u32,
        dotclock: Dotclock,
        hdisplay: u16,
        hsyncstart: u16,
        hsyncend: u16,
        htotal: u16,
        hskew: u16,
        vdisplay: u16,
        vsyncstart: u16,
        vsyncend: u16,
        vtotal: u16,
        flags: impl Into<ModeFlag>,
        private: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xf86vidmode_get_view_port(
        &mut self,
        screen: u16
    ) -> Result<Cookie<GetViewPortReply>> { ... } fn xf86vidmode_get_view_port_immediate(
        &mut self,
        screen: u16
    ) -> Result<GetViewPortReply> { ... } fn xf86vidmode_set_view_port(
        &mut self,
        screen: u16,
        x: u32,
        y: u32
    ) -> Result<Cookie<()>> { ... } fn xf86vidmode_set_view_port_checked(
        &mut self,
        screen: u16,
        x: u32,
        y: u32
    ) -> Result<()> { ... } fn xf86vidmode_get_dot_clocks(
        &mut self,
        screen: u16
    ) -> Result<Cookie<GetDotClocksReply>> { ... } fn xf86vidmode_get_dot_clocks_immediate(
        &mut self,
        screen: u16
    ) -> Result<GetDotClocksReply> { ... } fn xf86vidmode_set_client_version(
        &mut self,
        major: u16,
        minor: u16
    ) -> Result<Cookie<()>> { ... } fn xf86vidmode_set_client_version_checked(
        &mut self,
        major: u16,
        minor: u16
    ) -> Result<()> { ... } fn xf86vidmode_set_gamma(
        &mut self,
        screen: u16,
        red: u32,
        green: u32,
        blue: u32
    ) -> Result<Cookie<()>> { ... } fn xf86vidmode_set_gamma_checked(
        &mut self,
        screen: u16,
        red: u32,
        green: u32,
        blue: u32
    ) -> Result<()> { ... } fn xf86vidmode_get_gamma(
        &mut self,
        screen: u16
    ) -> Result<Cookie<GetGammaReply>> { ... } fn xf86vidmode_get_gamma_immediate(
        &mut self,
        screen: u16
    ) -> Result<GetGammaReply> { ... } fn xf86vidmode_get_gamma_ramp(
        &mut self,
        screen: u16,
        size: u16
    ) -> Result<Cookie<GetGammaRampReply>> { ... } fn xf86vidmode_get_gamma_ramp_immediate(
        &mut self,
        screen: u16,
        size: u16
    ) -> Result<GetGammaRampReply> { ... } fn xf86vidmode_set_gamma_ramp(
        &mut self,
        screen: u16,
        size: u16,
        red: impl AsRef<[u16]>,
        green: impl AsRef<[u16]>,
        blue: impl AsRef<[u16]>
    ) -> Result<Cookie<()>> { ... } fn xf86vidmode_set_gamma_ramp_checked(
        &mut self,
        screen: u16,
        size: u16,
        red: impl AsRef<[u16]>,
        green: impl AsRef<[u16]>,
        blue: impl AsRef<[u16]>
    ) -> Result<()> { ... } fn xf86vidmode_get_gamma_ramp_size(
        &mut self,
        screen: u16
    ) -> Result<Cookie<GetGammaRampSizeReply>> { ... } fn xf86vidmode_get_gamma_ramp_size_immediate(
        &mut self,
        screen: u16
    ) -> Result<GetGammaRampSizeReply> { ... } fn xf86vidmode_get_permissions(
        &mut self,
        screen: u16
    ) -> Result<Cookie<GetPermissionsReply>> { ... } fn xf86vidmode_get_permissions_immediate(
        &mut self,
        screen: u16
    ) -> Result<GetPermissionsReply> { ... } fn xfixes_query_version(
        &mut self,
        client_major_version: u32,
        client_minor_version: u32
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn xfixes_query_version_immediate(
        &mut self,
        client_major_version: u32,
        client_minor_version: u32
    ) -> Result<QueryVersionReply> { ... } fn xfixes_change_save_set(
        &mut self,
        mode: SaveSetMode,
        target: SaveSetTarget,
        map: SaveSetMapping,
        window: Window
    ) -> Result<Cookie<()>> { ... } fn xfixes_change_save_set_checked(
        &mut self,
        mode: SaveSetMode,
        target: SaveSetTarget,
        map: SaveSetMapping,
        window: Window
    ) -> Result<()> { ... } fn xfixes_select_selection_input(
        &mut self,
        window: Window,
        selection: Atom,
        event_mask: impl Into<SelectionEventMask>
    ) -> Result<Cookie<()>> { ... } fn xfixes_select_selection_input_checked(
        &mut self,
        window: Window,
        selection: Atom,
        event_mask: impl Into<SelectionEventMask>
    ) -> Result<()> { ... } fn xfixes_select_cursor_input(
        &mut self,
        window: Window,
        event_mask: impl Into<CursorNotifyMask>
    ) -> Result<Cookie<()>> { ... } fn xfixes_select_cursor_input_checked(
        &mut self,
        window: Window,
        event_mask: impl Into<CursorNotifyMask>
    ) -> Result<()> { ... } fn xfixes_get_cursor_image(&mut self) -> Result<Cookie<GetCursorImageReply>> { ... } fn xfixes_get_cursor_image_immediate(
        &mut self
    ) -> Result<GetCursorImageReply> { ... } fn xfixes_create_region(
        &mut self,
        region: Region,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<Cookie<()>> { ... } fn xfixes_create_region_checked(
        &mut self,
        region: Region,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<()> { ... } fn xfixes_create_region_from_bitmap(
        &mut self,
        region: Region,
        bitmap: Pixmap
    ) -> Result<Cookie<()>> { ... } fn xfixes_create_region_from_bitmap_checked(
        &mut self,
        region: Region,
        bitmap: Pixmap
    ) -> Result<()> { ... } fn xfixes_create_region_from_window(
        &mut self,
        region: Region,
        window: Window,
        kind: SK
    ) -> Result<Cookie<()>> { ... } fn xfixes_create_region_from_window_checked(
        &mut self,
        region: Region,
        window: Window,
        kind: SK
    ) -> Result<()> { ... } fn xfixes_create_region_from_gc(
        &mut self,
        region: Region,
        gc: Gcontext
    ) -> Result<Cookie<()>> { ... } fn xfixes_create_region_from_gc_checked(
        &mut self,
        region: Region,
        gc: Gcontext
    ) -> Result<()> { ... } fn xfixes_create_region_from_picture(
        &mut self,
        region: Region,
        picture: Picture
    ) -> Result<Cookie<()>> { ... } fn xfixes_create_region_from_picture_checked(
        &mut self,
        region: Region,
        picture: Picture
    ) -> Result<()> { ... } fn xfixes_destroy_region(&mut self, region: Region) -> Result<Cookie<()>> { ... } fn xfixes_destroy_region_checked(&mut self, region: Region) -> Result<()> { ... } fn xfixes_set_region(
        &mut self,
        region: Region,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<Cookie<()>> { ... } fn xfixes_set_region_checked(
        &mut self,
        region: Region,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<()> { ... } fn xfixes_copy_region(
        &mut self,
        source: Region,
        destination: Region
    ) -> Result<Cookie<()>> { ... } fn xfixes_copy_region_checked(
        &mut self,
        source: Region,
        destination: Region
    ) -> Result<()> { ... } fn xfixes_union_region(
        &mut self,
        source1: Region,
        source2: Region,
        destination: Region
    ) -> Result<Cookie<()>> { ... } fn xfixes_union_region_checked(
        &mut self,
        source1: Region,
        source2: Region,
        destination: Region
    ) -> Result<()> { ... } fn xfixes_intersect_region(
        &mut self,
        source1: Region,
        source2: Region,
        destination: Region
    ) -> Result<Cookie<()>> { ... } fn xfixes_intersect_region_checked(
        &mut self,
        source1: Region,
        source2: Region,
        destination: Region
    ) -> Result<()> { ... } fn xfixes_subtract_region(
        &mut self,
        source1: Region,
        source2: Region,
        destination: Region
    ) -> Result<Cookie<()>> { ... } fn xfixes_subtract_region_checked(
        &mut self,
        source1: Region,
        source2: Region,
        destination: Region
    ) -> Result<()> { ... } fn xfixes_invert_region(
        &mut self,
        source: Region,
        bounds: Rectangle,
        destination: Region
    ) -> Result<Cookie<()>> { ... } fn xfixes_invert_region_checked(
        &mut self,
        source: Region,
        bounds: Rectangle,
        destination: Region
    ) -> Result<()> { ... } fn xfixes_translate_region(
        &mut self,
        region: Region,
        dx: i16,
        dy: i16
    ) -> Result<Cookie<()>> { ... } fn xfixes_translate_region_checked(
        &mut self,
        region: Region,
        dx: i16,
        dy: i16
    ) -> Result<()> { ... } fn xfixes_region_extents(
        &mut self,
        source: Region,
        destination: Region
    ) -> Result<Cookie<()>> { ... } fn xfixes_region_extents_checked(
        &mut self,
        source: Region,
        destination: Region
    ) -> Result<()> { ... } fn xfixes_fetch_region(
        &mut self,
        region: Region
    ) -> Result<Cookie<FetchRegionReply>> { ... } fn xfixes_fetch_region_immediate(
        &mut self,
        region: Region
    ) -> Result<FetchRegionReply> { ... } fn xfixes_set_gc_clip_region(
        &mut self,
        gc: Gcontext,
        region: impl Into<Region>,
        x_origin: i16,
        y_origin: i16
    ) -> Result<Cookie<()>> { ... } fn xfixes_set_gc_clip_region_checked(
        &mut self,
        gc: Gcontext,
        region: impl Into<Region>,
        x_origin: i16,
        y_origin: i16
    ) -> Result<()> { ... } fn xfixes_set_window_shape_region(
        &mut self,
        dest: Window,
        dest_kind: SK,
        x_offset: i16,
        y_offset: i16,
        region: impl Into<Region>
    ) -> Result<Cookie<()>> { ... } fn xfixes_set_window_shape_region_checked(
        &mut self,
        dest: Window,
        dest_kind: SK,
        x_offset: i16,
        y_offset: i16,
        region: impl Into<Region>
    ) -> Result<()> { ... } fn xfixes_set_picture_clip_region(
        &mut self,
        picture: Picture,
        region: impl Into<Region>,
        x_origin: i16,
        y_origin: i16
    ) -> Result<Cookie<()>> { ... } fn xfixes_set_picture_clip_region_checked(
        &mut self,
        picture: Picture,
        region: impl Into<Region>,
        x_origin: i16,
        y_origin: i16
    ) -> Result<()> { ... } fn xfixes_set_cursor_name(
        &mut self,
        cursor: Cursor,
        name: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xfixes_set_cursor_name_checked(
        &mut self,
        cursor: Cursor,
        name: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xfixes_get_cursor_name(
        &mut self,
        cursor: Cursor
    ) -> Result<Cookie<GetCursorNameReply>> { ... } fn xfixes_get_cursor_name_immediate(
        &mut self,
        cursor: Cursor
    ) -> Result<GetCursorNameReply> { ... } fn xfixes_get_cursor_image_and_name(
        &mut self
    ) -> Result<Cookie<GetCursorImageAndNameReply>> { ... } fn xfixes_get_cursor_image_and_name_immediate(
        &mut self
    ) -> Result<GetCursorImageAndNameReply> { ... } fn xfixes_change_cursor(
        &mut self,
        source: Cursor,
        destination: Cursor
    ) -> Result<Cookie<()>> { ... } fn xfixes_change_cursor_checked(
        &mut self,
        source: Cursor,
        destination: Cursor
    ) -> Result<()> { ... } fn xfixes_change_cursor_by_name(
        &mut self,
        src: Cursor,
        name: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xfixes_change_cursor_by_name_checked(
        &mut self,
        src: Cursor,
        name: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xfixes_expand_region(
        &mut self,
        source: Region,
        destination: Region,
        left: u16,
        right: u16,
        top: u16,
        bottom: u16
    ) -> Result<Cookie<()>> { ... } fn xfixes_expand_region_checked(
        &mut self,
        source: Region,
        destination: Region,
        left: u16,
        right: u16,
        top: u16,
        bottom: u16
    ) -> Result<()> { ... } fn xfixes_hide_cursor(&mut self, window: Window) -> Result<Cookie<()>> { ... } fn xfixes_hide_cursor_checked(&mut self, window: Window) -> Result<()> { ... } fn xfixes_show_cursor(&mut self, window: Window) -> Result<Cookie<()>> { ... } fn xfixes_show_cursor_checked(&mut self, window: Window) -> Result<()> { ... } fn xfixes_create_pointer_barrier(
        &mut self,
        barrier: Barrier,
        window: Window,
        x1: u16,
        y1: u16,
        x2: u16,
        y2: u16,
        directions: impl Into<BarrierDirections>,
        devices: impl AsRef<[u16]>
    ) -> Result<Cookie<()>> { ... } fn xfixes_create_pointer_barrier_checked(
        &mut self,
        barrier: Barrier,
        window: Window,
        x1: u16,
        y1: u16,
        x2: u16,
        y2: u16,
        directions: impl Into<BarrierDirections>,
        devices: impl AsRef<[u16]>
    ) -> Result<()> { ... } fn xfixes_delete_pointer_barrier(
        &mut self,
        barrier: Barrier
    ) -> Result<Cookie<()>> { ... } fn xfixes_delete_pointer_barrier_checked(
        &mut self,
        barrier: Barrier
    ) -> Result<()> { ... } fn xinerama_query_version(
        &mut self,
        major: u8,
        minor: u8
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn xinerama_query_version_immediate(
        &mut self,
        major: u8,
        minor: u8
    ) -> Result<QueryVersionReply> { ... } fn xinerama_get_state(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetStateReply>> { ... } fn xinerama_get_state_immediate(
        &mut self,
        window: Window
    ) -> Result<GetStateReply> { ... } fn xinerama_get_screen_count(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetScreenCountReply>> { ... } fn xinerama_get_screen_count_immediate(
        &mut self,
        window: Window
    ) -> Result<GetScreenCountReply> { ... } fn xinerama_get_screen_size(
        &mut self,
        window: Window,
        screen: u32
    ) -> Result<Cookie<GetScreenSizeReply>> { ... } fn xinerama_get_screen_size_immediate(
        &mut self,
        window: Window,
        screen: u32
    ) -> Result<GetScreenSizeReply> { ... } fn xinerama_is_active(&mut self) -> Result<Cookie<IsActiveReply>> { ... } fn xinerama_is_active_immediate(&mut self) -> Result<IsActiveReply> { ... } fn xinerama_query_screens(&mut self) -> Result<Cookie<QueryScreensReply>> { ... } fn xinerama_query_screens_immediate(&mut self) -> Result<QueryScreensReply> { ... } fn xinput_get_extension_version(
        &mut self,
        name: impl AsRef<[u8]>
    ) -> Result<Cookie<GetExtensionVersionReply>> { ... } fn xinput_get_extension_version_immediate(
        &mut self,
        name: impl AsRef<[u8]>
    ) -> Result<GetExtensionVersionReply> { ... } fn xinput_list_input_devices(
        &mut self
    ) -> Result<Cookie<ListInputDevicesReply>> { ... } fn xinput_list_input_devices_immediate(
        &mut self
    ) -> Result<ListInputDevicesReply> { ... } fn xinput_open_device(
        &mut self,
        device_id: u8
    ) -> Result<Cookie<OpenDeviceReply>> { ... } fn xinput_open_device_immediate(
        &mut self,
        device_id: u8
    ) -> Result<OpenDeviceReply> { ... } fn xinput_close_device(&mut self, device_id: u8) -> Result<Cookie<()>> { ... } fn xinput_close_device_checked(&mut self, device_id: u8) -> Result<()> { ... } fn xinput_set_device_mode(
        &mut self,
        device_id: u8,
        mode: ValuatorMode
    ) -> Result<Cookie<SetDeviceModeReply>> { ... } fn xinput_set_device_mode_immediate(
        &mut self,
        device_id: u8,
        mode: ValuatorMode
    ) -> Result<SetDeviceModeReply> { ... } fn xinput_select_extension_event(
        &mut self,
        window: Window,
        classes: impl AsRef<[EventClass]>
    ) -> Result<Cookie<()>> { ... } fn xinput_select_extension_event_checked(
        &mut self,
        window: Window,
        classes: impl AsRef<[EventClass]>
    ) -> Result<()> { ... } fn xinput_get_selected_extension_events(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetSelectedExtensionEventsReply>> { ... } fn xinput_get_selected_extension_events_immediate(
        &mut self,
        window: Window
    ) -> Result<GetSelectedExtensionEventsReply> { ... } fn xinput_change_device_dont_propagate_list(
        &mut self,
        window: Window,
        mode: PropagateMode,
        classes: impl AsRef<[EventClass]>
    ) -> Result<Cookie<()>> { ... } fn xinput_change_device_dont_propagate_list_checked(
        &mut self,
        window: Window,
        mode: PropagateMode,
        classes: impl AsRef<[EventClass]>
    ) -> Result<()> { ... } fn xinput_get_device_dont_propagate_list(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetDeviceDontPropagateListReply>> { ... } fn xinput_get_device_dont_propagate_list_immediate(
        &mut self,
        window: Window
    ) -> Result<GetDeviceDontPropagateListReply> { ... } fn xinput_get_device_motion_events(
        &mut self,
        start: Timestamp,
        stop: impl Into<Time>,
        device_id: u8
    ) -> Result<Cookie<GetDeviceMotionEventsReply>> { ... } fn xinput_get_device_motion_events_immediate(
        &mut self,
        start: Timestamp,
        stop: impl Into<Time>,
        device_id: u8
    ) -> Result<GetDeviceMotionEventsReply> { ... } fn xinput_change_keyboard_device(
        &mut self,
        device_id: u8
    ) -> Result<Cookie<ChangeKeyboardDeviceReply>> { ... } fn xinput_change_keyboard_device_immediate(
        &mut self,
        device_id: u8
    ) -> Result<ChangeKeyboardDeviceReply> { ... } fn xinput_change_pointer_device(
        &mut self,
        x_axis: u8,
        y_axis: u8,
        device_id: u8
    ) -> Result<Cookie<ChangePointerDeviceReply>> { ... } fn xinput_change_pointer_device_immediate(
        &mut self,
        x_axis: u8,
        y_axis: u8,
        device_id: u8
    ) -> Result<ChangePointerDeviceReply> { ... } fn xinput_grab_device(
        &mut self,
        grab_window: Window,
        time: impl Into<Time>,
        this_device_mode: GrabMode,
        other_device_mode: GrabMode,
        owner_events: bool,
        device_id: u8,
        classes: impl AsRef<[EventClass]>
    ) -> Result<Cookie<GrabDeviceReply>> { ... } fn xinput_grab_device_immediate(
        &mut self,
        grab_window: Window,
        time: impl Into<Time>,
        this_device_mode: GrabMode,
        other_device_mode: GrabMode,
        owner_events: bool,
        device_id: u8,
        classes: impl AsRef<[EventClass]>
    ) -> Result<GrabDeviceReply> { ... } fn xinput_ungrab_device(
        &mut self,
        time: impl Into<Time>,
        device_id: u8
    ) -> Result<Cookie<()>> { ... } fn xinput_ungrab_device_checked(
        &mut self,
        time: impl Into<Time>,
        device_id: u8
    ) -> Result<()> { ... } fn xinput_grab_device_key(
        &mut self,
        grab_window: Window,
        modifiers: impl Into<ModMask>,
        modifier_device: impl Into<ModifierDevice>,
        grabbed_device: u8,
        key: impl Into<Grab>,
        this_device_mode: GrabMode,
        other_device_mode: GrabMode,
        owner_events: bool,
        classes: impl AsRef<[EventClass]>
    ) -> Result<Cookie<()>> { ... } fn xinput_grab_device_key_checked(
        &mut self,
        grab_window: Window,
        modifiers: impl Into<ModMask>,
        modifier_device: impl Into<ModifierDevice>,
        grabbed_device: u8,
        key: impl Into<Grab>,
        this_device_mode: GrabMode,
        other_device_mode: GrabMode,
        owner_events: bool,
        classes: impl AsRef<[EventClass]>
    ) -> Result<()> { ... } fn xinput_ungrab_device_key(
        &mut self,
        grab_window: Window,
        modifiers: impl Into<ModMask>,
        modifier_device: impl Into<ModifierDevice>,
        key: impl Into<Grab>,
        grabbed_device: u8
    ) -> Result<Cookie<()>> { ... } fn xinput_ungrab_device_key_checked(
        &mut self,
        grab_window: Window,
        modifiers: impl Into<ModMask>,
        modifier_device: impl Into<ModifierDevice>,
        key: impl Into<Grab>,
        grabbed_device: u8
    ) -> Result<()> { ... } fn xinput_grab_device_button(
        &mut self,
        grab_window: Window,
        grabbed_device: u8,
        modifier_device: impl Into<ModifierDevice>,
        modifiers: impl Into<ModMask>,
        this_device_mode: GrabMode,
        other_device_mode: GrabMode,
        button: impl Into<Grab>,
        owner_events: bool,
        classes: impl AsRef<[EventClass]>
    ) -> Result<Cookie<()>> { ... } fn xinput_grab_device_button_checked(
        &mut self,
        grab_window: Window,
        grabbed_device: u8,
        modifier_device: impl Into<ModifierDevice>,
        modifiers: impl Into<ModMask>,
        this_device_mode: GrabMode,
        other_device_mode: GrabMode,
        button: impl Into<Grab>,
        owner_events: bool,
        classes: impl AsRef<[EventClass]>
    ) -> Result<()> { ... } fn xinput_ungrab_device_button(
        &mut self,
        grab_window: Window,
        modifiers: impl Into<ModMask>,
        modifier_device: impl Into<ModifierDevice>,
        button: impl Into<Grab>,
        grabbed_device: u8
    ) -> Result<Cookie<()>> { ... } fn xinput_ungrab_device_button_checked(
        &mut self,
        grab_window: Window,
        modifiers: impl Into<ModMask>,
        modifier_device: impl Into<ModifierDevice>,
        button: impl Into<Grab>,
        grabbed_device: u8
    ) -> Result<()> { ... } fn xinput_allow_device_events(
        &mut self,
        time: impl Into<Time>,
        mode: DeviceInputMode,
        device_id: u8
    ) -> Result<Cookie<()>> { ... } fn xinput_allow_device_events_checked(
        &mut self,
        time: impl Into<Time>,
        mode: DeviceInputMode,
        device_id: u8
    ) -> Result<()> { ... } fn xinput_get_device_focus(
        &mut self,
        device_id: u8
    ) -> Result<Cookie<GetDeviceFocusReply>> { ... } fn xinput_get_device_focus_immediate(
        &mut self,
        device_id: u8
    ) -> Result<GetDeviceFocusReply> { ... } fn xinput_set_device_focus(
        &mut self,
        focus: impl Into<InputFocus>,
        time: impl Into<Time>,
        revert_to: InputFocus,
        device_id: u8
    ) -> Result<Cookie<()>> { ... } fn xinput_set_device_focus_checked(
        &mut self,
        focus: impl Into<InputFocus>,
        time: impl Into<Time>,
        revert_to: InputFocus,
        device_id: u8
    ) -> Result<()> { ... } fn xinput_get_feedback_control(
        &mut self,
        device_id: u8
    ) -> Result<Cookie<GetFeedbackControlReply>> { ... } fn xinput_get_feedback_control_immediate(
        &mut self,
        device_id: u8
    ) -> Result<GetFeedbackControlReply> { ... } fn xinput_change_feedback_control(
        &mut self,
        mask: impl Into<ChangeFeedbackControlMask>,
        device_id: u8,
        feedback_id: u8,
        feedback: FeedbackCtl
    ) -> Result<Cookie<()>> { ... } fn xinput_change_feedback_control_checked(
        &mut self,
        mask: impl Into<ChangeFeedbackControlMask>,
        device_id: u8,
        feedback_id: u8,
        feedback: FeedbackCtl
    ) -> Result<()> { ... } fn xinput_get_device_key_mapping(
        &mut self,
        device_id: u8,
        first_keycode: KeyCode,
        count: u8
    ) -> Result<Cookie<GetDeviceKeyMappingReply>> { ... } fn xinput_get_device_key_mapping_immediate(
        &mut self,
        device_id: u8,
        first_keycode: KeyCode,
        count: u8
    ) -> Result<GetDeviceKeyMappingReply> { ... } fn xinput_change_device_key_mapping(
        &mut self,
        device_id: u8,
        first_keycode: KeyCode,
        keysyms_per_keycode: u8,
        keycode_count: u8,
        keysyms: impl AsRef<[Keysym]>
    ) -> Result<Cookie<()>> { ... } fn xinput_change_device_key_mapping_checked(
        &mut self,
        device_id: u8,
        first_keycode: KeyCode,
        keysyms_per_keycode: u8,
        keycode_count: u8,
        keysyms: impl AsRef<[Keysym]>
    ) -> Result<()> { ... } fn xinput_get_device_modifier_mapping(
        &mut self,
        device_id: u8
    ) -> Result<Cookie<GetDeviceModifierMappingReply>> { ... } fn xinput_get_device_modifier_mapping_immediate(
        &mut self,
        device_id: u8
    ) -> Result<GetDeviceModifierMappingReply> { ... } fn xinput_set_device_modifier_mapping(
        &mut self,
        device_id: u8,
        keymaps: impl AsRef<[u8]>
    ) -> Result<Cookie<SetDeviceModifierMappingReply>> { ... } fn xinput_set_device_modifier_mapping_immediate(
        &mut self,
        device_id: u8,
        keymaps: impl AsRef<[u8]>
    ) -> Result<SetDeviceModifierMappingReply> { ... } fn xinput_get_device_button_mapping(
        &mut self,
        device_id: u8
    ) -> Result<Cookie<GetDeviceButtonMappingReply>> { ... } fn xinput_get_device_button_mapping_immediate(
        &mut self,
        device_id: u8
    ) -> Result<GetDeviceButtonMappingReply> { ... } fn xinput_set_device_button_mapping(
        &mut self,
        device_id: u8,
        map: impl AsRef<[u8]>
    ) -> Result<Cookie<SetDeviceButtonMappingReply>> { ... } fn xinput_set_device_button_mapping_immediate(
        &mut self,
        device_id: u8,
        map: impl AsRef<[u8]>
    ) -> Result<SetDeviceButtonMappingReply> { ... } fn xinput_query_device_state(
        &mut self,
        device_id: u8
    ) -> Result<Cookie<QueryDeviceStateReply>> { ... } fn xinput_query_device_state_immediate(
        &mut self,
        device_id: u8
    ) -> Result<QueryDeviceStateReply> { ... } fn xinput_device_bell(
        &mut self,
        device_id: u8,
        feedback_id: u8,
        feedback_class: u8,
        percent: i8
    ) -> Result<Cookie<()>> { ... } fn xinput_device_bell_checked(
        &mut self,
        device_id: u8,
        feedback_id: u8,
        feedback_class: u8,
        percent: i8
    ) -> Result<()> { ... } fn xinput_set_device_valuators(
        &mut self,
        device_id: u8,
        first_valuator: u8,
        valuators: impl AsRef<[i32]>
    ) -> Result<Cookie<SetDeviceValuatorsReply>> { ... } fn xinput_set_device_valuators_immediate(
        &mut self,
        device_id: u8,
        first_valuator: u8,
        valuators: impl AsRef<[i32]>
    ) -> Result<SetDeviceValuatorsReply> { ... } fn xinput_get_device_control(
        &mut self,
        control_id: DeviceControl,
        device_id: u8
    ) -> Result<Cookie<GetDeviceControlReply>> { ... } fn xinput_get_device_control_immediate(
        &mut self,
        control_id: DeviceControl,
        device_id: u8
    ) -> Result<GetDeviceControlReply> { ... } fn xinput_change_device_control(
        &mut self,
        control_id: DeviceControl,
        device_id: u8,
        control: DeviceCtl
    ) -> Result<Cookie<ChangeDeviceControlReply>> { ... } fn xinput_change_device_control_immediate(
        &mut self,
        control_id: DeviceControl,
        device_id: u8,
        control: DeviceCtl
    ) -> Result<ChangeDeviceControlReply> { ... } fn xinput_list_device_properties(
        &mut self,
        device_id: u8
    ) -> Result<Cookie<ListDevicePropertiesReply>> { ... } fn xinput_list_device_properties_immediate(
        &mut self,
        device_id: u8
    ) -> Result<ListDevicePropertiesReply> { ... } fn xinput_change_device_property(
        &mut self,
        property: Atom,
        type_: Atom,
        device_id: u8,
        mode: PropMode,
        num_items: u32,
        items: impl Borrow<ChangeDevicePropertyAux>
    ) -> Result<Cookie<()>> { ... } fn xinput_change_device_property_checked(
        &mut self,
        property: Atom,
        type_: Atom,
        device_id: u8,
        mode: PropMode,
        num_items: u32,
        items: impl Borrow<ChangeDevicePropertyAux>
    ) -> Result<()> { ... } fn xinput_delete_device_property(
        &mut self,
        property: Atom,
        device_id: u8
    ) -> Result<Cookie<()>> { ... } fn xinput_delete_device_property_checked(
        &mut self,
        property: Atom,
        device_id: u8
    ) -> Result<()> { ... } fn xinput_get_device_property(
        &mut self,
        property: Atom,
        type_: Atom,
        offset: u32,
        len: u32,
        device_id: u8,
        delete: bool
    ) -> Result<Cookie<GetDevicePropertyReply>> { ... } fn xinput_get_device_property_immediate(
        &mut self,
        property: Atom,
        type_: Atom,
        offset: u32,
        len: u32,
        device_id: u8,
        delete: bool
    ) -> Result<GetDevicePropertyReply> { ... } fn xinput_xi_query_pointer(
        &mut self,
        window: Window,
        deviceid: impl Into<Device>
    ) -> Result<Cookie<XIQueryPointerReply>> { ... } fn xinput_xi_query_pointer_immediate(
        &mut self,
        window: Window,
        deviceid: impl Into<Device>
    ) -> Result<XIQueryPointerReply> { ... } fn xinput_xi_warp_pointer(
        &mut self,
        src_win: Window,
        dst_win: Window,
        src_x: Fp1616,
        src_y: Fp1616,
        src_width: u16,
        src_height: u16,
        dst_x: Fp1616,
        dst_y: Fp1616,
        deviceid: impl Into<Device>
    ) -> Result<Cookie<()>> { ... } fn xinput_xi_warp_pointer_checked(
        &mut self,
        src_win: Window,
        dst_win: Window,
        src_x: Fp1616,
        src_y: Fp1616,
        src_width: u16,
        src_height: u16,
        dst_x: Fp1616,
        dst_y: Fp1616,
        deviceid: impl Into<Device>
    ) -> Result<()> { ... } fn xinput_xi_change_cursor(
        &mut self,
        window: Window,
        cursor: Cursor,
        deviceid: impl Into<Device>
    ) -> Result<Cookie<()>> { ... } fn xinput_xi_change_cursor_checked(
        &mut self,
        window: Window,
        cursor: Cursor,
        deviceid: impl Into<Device>
    ) -> Result<()> { ... } fn xinput_xi_change_hierarchy(
        &mut self,
        changes: impl AsRef<[HierarchyChange]>
    ) -> Result<Cookie<()>> { ... } fn xinput_xi_change_hierarchy_checked(
        &mut self,
        changes: impl AsRef<[HierarchyChange]>
    ) -> Result<()> { ... } fn xinput_xi_set_client_pointer(
        &mut self,
        window: Window,
        deviceid: impl Into<Device>
    ) -> Result<Cookie<()>> { ... } fn xinput_xi_set_client_pointer_checked(
        &mut self,
        window: Window,
        deviceid: impl Into<Device>
    ) -> Result<()> { ... } fn xinput_xi_get_client_pointer(
        &mut self,
        window: Window
    ) -> Result<Cookie<XIGetClientPointerReply>> { ... } fn xinput_xi_get_client_pointer_immediate(
        &mut self,
        window: Window
    ) -> Result<XIGetClientPointerReply> { ... } fn xinput_xi_select_events(
        &mut self,
        window: Window,
        masks: impl AsRef<[EventMask]>
    ) -> Result<Cookie<()>> { ... } fn xinput_xi_select_events_checked(
        &mut self,
        window: Window,
        masks: impl AsRef<[EventMask]>
    ) -> Result<()> { ... } fn xinput_xi_query_version(
        &mut self,
        major_version: u16,
        minor_version: u16
    ) -> Result<Cookie<XIQueryVersionReply>> { ... } fn xinput_xi_query_version_immediate(
        &mut self,
        major_version: u16,
        minor_version: u16
    ) -> Result<XIQueryVersionReply> { ... } fn xinput_xi_query_device(
        &mut self,
        deviceid: impl Into<Device>
    ) -> Result<Cookie<XIQueryDeviceReply>> { ... } fn xinput_xi_query_device_immediate(
        &mut self,
        deviceid: impl Into<Device>
    ) -> Result<XIQueryDeviceReply> { ... } fn xinput_xi_set_focus(
        &mut self,
        window: Window,
        time: impl Into<Time>,
        deviceid: impl Into<Device>
    ) -> Result<Cookie<()>> { ... } fn xinput_xi_set_focus_checked(
        &mut self,
        window: Window,
        time: impl Into<Time>,
        deviceid: impl Into<Device>
    ) -> Result<()> { ... } fn xinput_xi_get_focus(
        &mut self,
        deviceid: impl Into<Device>
    ) -> Result<Cookie<XIGetFocusReply>> { ... } fn xinput_xi_get_focus_immediate(
        &mut self,
        deviceid: impl Into<Device>
    ) -> Result<XIGetFocusReply> { ... } fn xinput_xi_grab_device(
        &mut self,
        window: Window,
        time: impl Into<Time>,
        cursor: Cursor,
        deviceid: impl Into<Device>,
        mode: GrabMode,
        paired_device_mode: GrabMode,
        owner_events: GrabOwner,
        mask: impl AsRef<[u32]>
    ) -> Result<Cookie<XIGrabDeviceReply>> { ... } fn xinput_xi_grab_device_immediate(
        &mut self,
        window: Window,
        time: impl Into<Time>,
        cursor: Cursor,
        deviceid: impl Into<Device>,
        mode: GrabMode,
        paired_device_mode: GrabMode,
        owner_events: GrabOwner,
        mask: impl AsRef<[u32]>
    ) -> Result<XIGrabDeviceReply> { ... } fn xinput_xi_ungrab_device(
        &mut self,
        time: impl Into<Time>,
        deviceid: impl Into<Device>
    ) -> Result<Cookie<()>> { ... } fn xinput_xi_ungrab_device_checked(
        &mut self,
        time: impl Into<Time>,
        deviceid: impl Into<Device>
    ) -> Result<()> { ... } fn xinput_xi_allow_events(
        &mut self,
        time: impl Into<Time>,
        deviceid: impl Into<Device>,
        event_mode: EventMode,
        touchid: u32,
        grab_window: Window
    ) -> Result<Cookie<()>> { ... } fn xinput_xi_allow_events_checked(
        &mut self,
        time: impl Into<Time>,
        deviceid: impl Into<Device>,
        event_mode: EventMode,
        touchid: u32,
        grab_window: Window
    ) -> Result<()> { ... } fn xinput_xi_passive_grab_device(
        &mut self,
        time: impl Into<Time>,
        grab_window: Window,
        cursor: Cursor,
        detail: u32,
        deviceid: impl Into<Device>,
        grab_type: GrabType,
        grab_mode: GrabMode22,
        paired_device_mode: GrabMode,
        owner_events: GrabOwner,
        mask: impl AsRef<[u32]>,
        modifiers: impl AsRef<[u32]>
    ) -> Result<Cookie<XIPassiveGrabDeviceReply>> { ... } fn xinput_xi_passive_grab_device_immediate(
        &mut self,
        time: impl Into<Time>,
        grab_window: Window,
        cursor: Cursor,
        detail: u32,
        deviceid: impl Into<Device>,
        grab_type: GrabType,
        grab_mode: GrabMode22,
        paired_device_mode: GrabMode,
        owner_events: GrabOwner,
        mask: impl AsRef<[u32]>,
        modifiers: impl AsRef<[u32]>
    ) -> Result<XIPassiveGrabDeviceReply> { ... } fn xinput_xi_passive_ungrab_device(
        &mut self,
        grab_window: Window,
        detail: u32,
        deviceid: impl Into<Device>,
        grab_type: GrabType,
        modifiers: impl AsRef<[u32]>
    ) -> Result<Cookie<()>> { ... } fn xinput_xi_passive_ungrab_device_checked(
        &mut self,
        grab_window: Window,
        detail: u32,
        deviceid: impl Into<Device>,
        grab_type: GrabType,
        modifiers: impl AsRef<[u32]>
    ) -> Result<()> { ... } fn xinput_xi_list_properties(
        &mut self,
        deviceid: impl Into<Device>
    ) -> Result<Cookie<XIListPropertiesReply>> { ... } fn xinput_xi_list_properties_immediate(
        &mut self,
        deviceid: impl Into<Device>
    ) -> Result<XIListPropertiesReply> { ... } fn xinput_xi_change_property(
        &mut self,
        deviceid: impl Into<Device>,
        mode: PropMode,
        property: Atom,
        type_: Atom,
        num_items: u32,
        items: impl Borrow<XIChangePropertyAux>
    ) -> Result<Cookie<()>> { ... } fn xinput_xi_change_property_checked(
        &mut self,
        deviceid: impl Into<Device>,
        mode: PropMode,
        property: Atom,
        type_: Atom,
        num_items: u32,
        items: impl Borrow<XIChangePropertyAux>
    ) -> Result<()> { ... } fn xinput_xi_delete_property(
        &mut self,
        deviceid: impl Into<Device>,
        property: Atom
    ) -> Result<Cookie<()>> { ... } fn xinput_xi_delete_property_checked(
        &mut self,
        deviceid: impl Into<Device>,
        property: Atom
    ) -> Result<()> { ... } fn xinput_xi_get_property(
        &mut self,
        deviceid: impl Into<Device>,
        delete: bool,
        property: Atom,
        type_: Atom,
        offset: u32,
        len: u32
    ) -> Result<Cookie<XIGetPropertyReply>> { ... } fn xinput_xi_get_property_immediate(
        &mut self,
        deviceid: impl Into<Device>,
        delete: bool,
        property: Atom,
        type_: Atom,
        offset: u32,
        len: u32
    ) -> Result<XIGetPropertyReply> { ... } fn xinput_xi_get_selected_events(
        &mut self,
        window: Window
    ) -> Result<Cookie<XIGetSelectedEventsReply>> { ... } fn xinput_xi_get_selected_events_immediate(
        &mut self,
        window: Window
    ) -> Result<XIGetSelectedEventsReply> { ... } fn xinput_xi_barrier_release_pointer(
        &mut self,
        barriers: impl AsRef<[BarrierReleasePointerInfo]>
    ) -> Result<Cookie<()>> { ... } fn xinput_xi_barrier_release_pointer_checked(
        &mut self,
        barriers: impl AsRef<[BarrierReleasePointerInfo]>
    ) -> Result<()> { ... } fn xinput_send_extension_event(
        &mut self,
        destination: Window,
        device_id: u8,
        propagate: bool,
        events: impl AsRef<[EventForSend]>,
        classes: impl AsRef<[EventClass]>
    ) -> Result<Cookie<()>> { ... } fn xinput_send_extension_event_checked(
        &mut self,
        destination: Window,
        device_id: u8,
        propagate: bool,
        events: impl AsRef<[EventForSend]>,
        classes: impl AsRef<[EventClass]>
    ) -> Result<()> { ... } fn xkb_use_extension(
        &mut self,
        wanted_major: u16,
        wanted_minor: u16
    ) -> Result<Cookie<UseExtensionReply>> { ... } fn xkb_use_extension_immediate(
        &mut self,
        wanted_major: u16,
        wanted_minor: u16
    ) -> Result<UseExtensionReply> { ... } fn xkb_select_events(
        &mut self,
        device_spec: DeviceSpec,
        clear: impl Into<EventType>,
        select_all: impl Into<EventType>,
        affect_map: impl Into<MapPart>,
        map: impl Into<MapPart>,
        details: impl Borrow<SelectEventsAux>
    ) -> Result<Cookie<()>> { ... } fn xkb_select_events_checked(
        &mut self,
        device_spec: DeviceSpec,
        clear: impl Into<EventType>,
        select_all: impl Into<EventType>,
        affect_map: impl Into<MapPart>,
        map: impl Into<MapPart>,
        details: impl Borrow<SelectEventsAux>
    ) -> Result<()> { ... } fn xkb_bell(
        &mut self,
        device_spec: DeviceSpec,
        bell_class: BellClassSpec,
        bell_id: IDSpec,
        percent: i8,
        force_sound: bool,
        event_only: bool,
        pitch: i16,
        duration: i16,
        name: Atom,
        window: Window
    ) -> Result<Cookie<()>> { ... } fn xkb_bell_checked(
        &mut self,
        device_spec: DeviceSpec,
        bell_class: BellClassSpec,
        bell_id: IDSpec,
        percent: i8,
        force_sound: bool,
        event_only: bool,
        pitch: i16,
        duration: i16,
        name: Atom,
        window: Window
    ) -> Result<()> { ... } fn xkb_get_state(
        &mut self,
        device_spec: DeviceSpec
    ) -> Result<Cookie<GetStateReply>> { ... } fn xkb_get_state_immediate(
        &mut self,
        device_spec: DeviceSpec
    ) -> Result<GetStateReply> { ... } fn xkb_latch_lock_state(
        &mut self,
        device_spec: DeviceSpec,
        affect_mod_locks: impl Into<ModMask>,
        mod_locks: impl Into<ModMask>,
        lock_group: bool,
        group_lock: Group,
        affect_mod_latches: impl Into<ModMask>,
        latch_group: bool,
        group_latch: u16
    ) -> Result<Cookie<()>> { ... } fn xkb_latch_lock_state_checked(
        &mut self,
        device_spec: DeviceSpec,
        affect_mod_locks: impl Into<ModMask>,
        mod_locks: impl Into<ModMask>,
        lock_group: bool,
        group_lock: Group,
        affect_mod_latches: impl Into<ModMask>,
        latch_group: bool,
        group_latch: u16
    ) -> Result<()> { ... } fn xkb_get_controls(
        &mut self,
        device_spec: DeviceSpec
    ) -> Result<Cookie<GetControlsReply>> { ... } fn xkb_get_controls_immediate(
        &mut self,
        device_spec: DeviceSpec
    ) -> Result<GetControlsReply> { ... } fn xkb_set_controls(
        &mut self,
        device_spec: DeviceSpec,
        affect_internal_real_mods: impl Into<ModMask>,
        internal_real_mods: impl Into<ModMask>,
        affect_ignore_lock_real_mods: impl Into<ModMask>,
        ignore_lock_real_mods: impl Into<ModMask>,
        affect_internal_virtual_mods: impl Into<VMod>,
        internal_virtual_mods: impl Into<VMod>,
        affect_ignore_lock_virtual_mods: impl Into<VMod>,
        ignore_lock_virtual_mods: impl Into<VMod>,
        mouse_keys_dflt_btn: u8,
        groups_wrap: u8,
        access_x_options: impl Into<AXOption>,
        affect_enabled_controls: impl Into<BoolCtrl>,
        enabled_controls: impl Into<BoolCtrl>,
        change_controls: impl Into<Control>,
        repeat_delay: u16,
        repeat_interval: u16,
        slow_keys_delay: u16,
        debounce_delay: u16,
        mouse_keys_delay: u16,
        mouse_keys_interval: u16,
        mouse_keys_time_to_max: u16,
        mouse_keys_max_speed: u16,
        mouse_keys_curve: i16,
        access_x_timeout: u16,
        access_x_timeout_mask: impl Into<BoolCtrl>,
        access_x_timeout_values: impl Into<BoolCtrl>,
        access_x_timeout_options_mask: impl Into<AXOption>,
        access_x_timeout_options_values: impl Into<AXOption>,
        per_key_repeat: impl Borrow<[u8; 32]>
    ) -> Result<Cookie<()>> { ... } fn xkb_set_controls_checked(
        &mut self,
        device_spec: DeviceSpec,
        affect_internal_real_mods: impl Into<ModMask>,
        internal_real_mods: impl Into<ModMask>,
        affect_ignore_lock_real_mods: impl Into<ModMask>,
        ignore_lock_real_mods: impl Into<ModMask>,
        affect_internal_virtual_mods: impl Into<VMod>,
        internal_virtual_mods: impl Into<VMod>,
        affect_ignore_lock_virtual_mods: impl Into<VMod>,
        ignore_lock_virtual_mods: impl Into<VMod>,
        mouse_keys_dflt_btn: u8,
        groups_wrap: u8,
        access_x_options: impl Into<AXOption>,
        affect_enabled_controls: impl Into<BoolCtrl>,
        enabled_controls: impl Into<BoolCtrl>,
        change_controls: impl Into<Control>,
        repeat_delay: u16,
        repeat_interval: u16,
        slow_keys_delay: u16,
        debounce_delay: u16,
        mouse_keys_delay: u16,
        mouse_keys_interval: u16,
        mouse_keys_time_to_max: u16,
        mouse_keys_max_speed: u16,
        mouse_keys_curve: i16,
        access_x_timeout: u16,
        access_x_timeout_mask: impl Into<BoolCtrl>,
        access_x_timeout_values: impl Into<BoolCtrl>,
        access_x_timeout_options_mask: impl Into<AXOption>,
        access_x_timeout_options_values: impl Into<AXOption>,
        per_key_repeat: impl Borrow<[u8; 32]>
    ) -> Result<()> { ... } fn xkb_get_map(
        &mut self,
        device_spec: DeviceSpec,
        full: impl Into<MapPart>,
        partial: impl Into<MapPart>,
        first_type: u8,
        n_types: u8,
        first_key_sym: Keycode,
        n_key_syms: u8,
        first_key_action: Keycode,
        n_key_actions: u8,
        first_key_behavior: Keycode,
        n_key_behaviors: u8,
        virtual_mods: impl Into<VMod>,
        first_key_explicit: Keycode,
        n_key_explicit: u8,
        first_mod_map_key: Keycode,
        n_mod_map_keys: u8,
        first_v_mod_map_key: Keycode,
        n_v_mod_map_keys: u8
    ) -> Result<Cookie<GetMapReply>> { ... } fn xkb_get_map_immediate(
        &mut self,
        device_spec: DeviceSpec,
        full: impl Into<MapPart>,
        partial: impl Into<MapPart>,
        first_type: u8,
        n_types: u8,
        first_key_sym: Keycode,
        n_key_syms: u8,
        first_key_action: Keycode,
        n_key_actions: u8,
        first_key_behavior: Keycode,
        n_key_behaviors: u8,
        virtual_mods: impl Into<VMod>,
        first_key_explicit: Keycode,
        n_key_explicit: u8,
        first_mod_map_key: Keycode,
        n_mod_map_keys: u8,
        first_v_mod_map_key: Keycode,
        n_v_mod_map_keys: u8
    ) -> Result<GetMapReply> { ... } fn xkb_set_map(
        &mut self,
        device_spec: DeviceSpec,
        flags: impl Into<SetMapFlags>,
        min_key_code: Keycode,
        max_key_code: Keycode,
        first_type: u8,
        n_types: u8,
        first_key_sym: Keycode,
        n_key_syms: u8,
        total_syms: u16,
        first_key_action: Keycode,
        n_key_actions: u8,
        total_actions: u16,
        first_key_behavior: Keycode,
        n_key_behaviors: u8,
        total_key_behaviors: u8,
        first_key_explicit: Keycode,
        n_key_explicit: u8,
        total_key_explicit: u8,
        first_mod_map_key: Keycode,
        n_mod_map_keys: u8,
        total_mod_map_keys: u8,
        first_v_mod_map_key: Keycode,
        n_v_mod_map_keys: u8,
        total_v_mod_map_keys: u8,
        virtual_mods: impl Into<VMod>,
        values: impl Borrow<SetMapAux>
    ) -> Result<Cookie<()>> { ... } fn xkb_set_map_checked(
        &mut self,
        device_spec: DeviceSpec,
        flags: impl Into<SetMapFlags>,
        min_key_code: Keycode,
        max_key_code: Keycode,
        first_type: u8,
        n_types: u8,
        first_key_sym: Keycode,
        n_key_syms: u8,
        total_syms: u16,
        first_key_action: Keycode,
        n_key_actions: u8,
        total_actions: u16,
        first_key_behavior: Keycode,
        n_key_behaviors: u8,
        total_key_behaviors: u8,
        first_key_explicit: Keycode,
        n_key_explicit: u8,
        total_key_explicit: u8,
        first_mod_map_key: Keycode,
        n_mod_map_keys: u8,
        total_mod_map_keys: u8,
        first_v_mod_map_key: Keycode,
        n_v_mod_map_keys: u8,
        total_v_mod_map_keys: u8,
        virtual_mods: impl Into<VMod>,
        values: impl Borrow<SetMapAux>
    ) -> Result<()> { ... } fn xkb_get_compat_map(
        &mut self,
        device_spec: DeviceSpec,
        groups: impl Into<SetOfGroup>,
        get_all_si: bool,
        first_si: u16,
        n_si: u16
    ) -> Result<Cookie<GetCompatMapReply>> { ... } fn xkb_get_compat_map_immediate(
        &mut self,
        device_spec: DeviceSpec,
        groups: impl Into<SetOfGroup>,
        get_all_si: bool,
        first_si: u16,
        n_si: u16
    ) -> Result<GetCompatMapReply> { ... } fn xkb_set_compat_map(
        &mut self,
        device_spec: DeviceSpec,
        recompute_actions: bool,
        truncate_si: bool,
        groups: impl Into<SetOfGroup>,
        first_si: u16,
        si: impl AsRef<[SymInterpret]>,
        group_maps: impl AsRef<[ModDef]>
    ) -> Result<Cookie<()>> { ... } fn xkb_set_compat_map_checked(
        &mut self,
        device_spec: DeviceSpec,
        recompute_actions: bool,
        truncate_si: bool,
        groups: impl Into<SetOfGroup>,
        first_si: u16,
        si: impl AsRef<[SymInterpret]>,
        group_maps: impl AsRef<[ModDef]>
    ) -> Result<()> { ... } fn xkb_get_indicator_state(
        &mut self,
        device_spec: DeviceSpec
    ) -> Result<Cookie<GetIndicatorStateReply>> { ... } fn xkb_get_indicator_state_immediate(
        &mut self,
        device_spec: DeviceSpec
    ) -> Result<GetIndicatorStateReply> { ... } fn xkb_get_indicator_map(
        &mut self,
        device_spec: DeviceSpec,
        which: u32
    ) -> Result<Cookie<GetIndicatorMapReply>> { ... } fn xkb_get_indicator_map_immediate(
        &mut self,
        device_spec: DeviceSpec,
        which: u32
    ) -> Result<GetIndicatorMapReply> { ... } fn xkb_set_indicator_map(
        &mut self,
        device_spec: DeviceSpec,
        which: u32,
        maps: impl AsRef<[IndicatorMap]>
    ) -> Result<Cookie<()>> { ... } fn xkb_set_indicator_map_checked(
        &mut self,
        device_spec: DeviceSpec,
        which: u32,
        maps: impl AsRef<[IndicatorMap]>
    ) -> Result<()> { ... } fn xkb_get_named_indicator(
        &mut self,
        device_spec: DeviceSpec,
        led_class: LedClass,
        led_id: impl Into<ID>,
        indicator: Atom
    ) -> Result<Cookie<GetNamedIndicatorReply>> { ... } fn xkb_get_named_indicator_immediate(
        &mut self,
        device_spec: DeviceSpec,
        led_class: LedClass,
        led_id: impl Into<ID>,
        indicator: Atom
    ) -> Result<GetNamedIndicatorReply> { ... } fn xkb_set_named_indicator(
        &mut self,
        device_spec: DeviceSpec,
        led_class: LedClass,
        led_id: impl Into<ID>,
        indicator: Atom,
        set_state: bool,
        on: bool,
        set_map: bool,
        create_map: bool,
        map_flags: impl Into<IMFlag>,
        map_which_groups: impl Into<IMGroupsWhich>,
        map_groups: impl Into<SetOfGroups>,
        map_which_mods: impl Into<IMModsWhich>,
        map_real_mods: impl Into<ModMask>,
        map_vmods: impl Into<VMod>,
        map_ctrls: impl Into<BoolCtrl>
    ) -> Result<Cookie<()>> { ... } fn xkb_set_named_indicator_checked(
        &mut self,
        device_spec: DeviceSpec,
        led_class: LedClass,
        led_id: impl Into<ID>,
        indicator: Atom,
        set_state: bool,
        on: bool,
        set_map: bool,
        create_map: bool,
        map_flags: impl Into<IMFlag>,
        map_which_groups: impl Into<IMGroupsWhich>,
        map_groups: impl Into<SetOfGroups>,
        map_which_mods: impl Into<IMModsWhich>,
        map_real_mods: impl Into<ModMask>,
        map_vmods: impl Into<VMod>,
        map_ctrls: impl Into<BoolCtrl>
    ) -> Result<()> { ... } fn xkb_get_names(
        &mut self,
        device_spec: DeviceSpec,
        which: impl Into<NameDetail>
    ) -> Result<Cookie<GetNamesReply>> { ... } fn xkb_get_names_immediate(
        &mut self,
        device_spec: DeviceSpec,
        which: impl Into<NameDetail>
    ) -> Result<GetNamesReply> { ... } fn xkb_set_names(
        &mut self,
        device_spec: DeviceSpec,
        virtual_mods: impl Into<VMod>,
        first_type: u8,
        n_types: u8,
        first_kt_levelt: u8,
        n_kt_levels: u8,
        indicators: u32,
        group_names: impl Into<SetOfGroup>,
        n_radio_groups: u8,
        first_key: Keycode,
        n_keys: u8,
        n_key_aliases: u8,
        total_kt_level_names: u16,
        values: impl Borrow<SetNamesAux>
    ) -> Result<Cookie<()>> { ... } fn xkb_set_names_checked(
        &mut self,
        device_spec: DeviceSpec,
        virtual_mods: impl Into<VMod>,
        first_type: u8,
        n_types: u8,
        first_kt_levelt: u8,
        n_kt_levels: u8,
        indicators: u32,
        group_names: impl Into<SetOfGroup>,
        n_radio_groups: u8,
        first_key: Keycode,
        n_keys: u8,
        n_key_aliases: u8,
        total_kt_level_names: u16,
        values: impl Borrow<SetNamesAux>
    ) -> Result<()> { ... } fn xkb_per_client_flags(
        &mut self,
        device_spec: DeviceSpec,
        change: impl Into<PerClientFlag>,
        value: impl Into<PerClientFlag>,
        ctrls_to_change: impl Into<BoolCtrl>,
        auto_ctrls: impl Into<BoolCtrl>,
        auto_ctrls_values: impl Into<BoolCtrl>
    ) -> Result<Cookie<PerClientFlagsReply>> { ... } fn xkb_per_client_flags_immediate(
        &mut self,
        device_spec: DeviceSpec,
        change: impl Into<PerClientFlag>,
        value: impl Into<PerClientFlag>,
        ctrls_to_change: impl Into<BoolCtrl>,
        auto_ctrls: impl Into<BoolCtrl>,
        auto_ctrls_values: impl Into<BoolCtrl>
    ) -> Result<PerClientFlagsReply> { ... } fn xkb_list_components(
        &mut self,
        device_spec: DeviceSpec,
        max_names: u16
    ) -> Result<Cookie<ListComponentsReply>> { ... } fn xkb_list_components_immediate(
        &mut self,
        device_spec: DeviceSpec,
        max_names: u16
    ) -> Result<ListComponentsReply> { ... } fn xkb_get_kbd_by_name(
        &mut self,
        device_spec: DeviceSpec,
        need: impl Into<GBNDetail>,
        want: impl Into<GBNDetail>,
        load: bool
    ) -> Result<Cookie<GetKbdByNameReply>> { ... } fn xkb_get_kbd_by_name_immediate(
        &mut self,
        device_spec: DeviceSpec,
        need: impl Into<GBNDetail>,
        want: impl Into<GBNDetail>,
        load: bool
    ) -> Result<GetKbdByNameReply> { ... } fn xkb_get_device_info(
        &mut self,
        device_spec: DeviceSpec,
        wanted: impl Into<XIFeature>,
        all_buttons: bool,
        first_button: u8,
        n_buttons: u8,
        led_class: LedClass,
        led_id: impl Into<ID>
    ) -> Result<Cookie<GetDeviceInfoReply>> { ... } fn xkb_get_device_info_immediate(
        &mut self,
        device_spec: DeviceSpec,
        wanted: impl Into<XIFeature>,
        all_buttons: bool,
        first_button: u8,
        n_buttons: u8,
        led_class: LedClass,
        led_id: impl Into<ID>
    ) -> Result<GetDeviceInfoReply> { ... } fn xkb_set_device_info(
        &mut self,
        device_spec: DeviceSpec,
        first_btn: u8,
        change: impl Into<XIFeature>,
        btn_actions: impl AsRef<[Action]>,
        leds: impl AsRef<[DeviceLedInfo]>
    ) -> Result<Cookie<()>> { ... } fn xkb_set_device_info_checked(
        &mut self,
        device_spec: DeviceSpec,
        first_btn: u8,
        change: impl Into<XIFeature>,
        btn_actions: impl AsRef<[Action]>,
        leds: impl AsRef<[DeviceLedInfo]>
    ) -> Result<()> { ... } fn xkb_set_debugging_flags(
        &mut self,
        affect_flags: u32,
        flags: u32,
        affect_ctrls: u32,
        ctrls: u32,
        message: impl AsRef<[String8]>
    ) -> Result<Cookie<SetDebuggingFlagsReply>> { ... } fn xkb_set_debugging_flags_immediate(
        &mut self,
        affect_flags: u32,
        flags: u32,
        affect_ctrls: u32,
        ctrls: u32,
        message: impl AsRef<[String8]>
    ) -> Result<SetDebuggingFlagsReply> { ... } fn xprint_print_query_version(
        &mut self
    ) -> Result<Cookie<PrintQueryVersionReply>> { ... } fn xprint_print_query_version_immediate(
        &mut self
    ) -> Result<PrintQueryVersionReply> { ... } fn xprint_print_get_printer_list(
        &mut self,
        printer_name: impl AsRef<[String8]>,
        locale: impl AsRef<[String8]>
    ) -> Result<Cookie<PrintGetPrinterListReply>> { ... } fn xprint_print_get_printer_list_immediate(
        &mut self,
        printer_name: impl AsRef<[String8]>,
        locale: impl AsRef<[String8]>
    ) -> Result<PrintGetPrinterListReply> { ... } fn xprint_print_rehash_printer_list(&mut self) -> Result<Cookie<()>> { ... } fn xprint_print_rehash_printer_list_checked(&mut self) -> Result<()> { ... } fn xprint_create_context(
        &mut self,
        context_id: u32,
        printer_name: impl AsRef<[String8]>,
        locale: impl AsRef<[String8]>
    ) -> Result<Cookie<()>> { ... } fn xprint_create_context_checked(
        &mut self,
        context_id: u32,
        printer_name: impl AsRef<[String8]>,
        locale: impl AsRef<[String8]>
    ) -> Result<()> { ... } fn xprint_print_set_context(&mut self, context: u32) -> Result<Cookie<()>> { ... } fn xprint_print_set_context_checked(&mut self, context: u32) -> Result<()> { ... } fn xprint_print_get_context(
        &mut self
    ) -> Result<Cookie<PrintGetContextReply>> { ... } fn xprint_print_get_context_immediate(
        &mut self
    ) -> Result<PrintGetContextReply> { ... } fn xprint_print_destroy_context(
        &mut self,
        context: u32
    ) -> Result<Cookie<()>> { ... } fn xprint_print_destroy_context_checked(
        &mut self,
        context: u32
    ) -> Result<()> { ... } fn xprint_print_get_screen_of_context(
        &mut self
    ) -> Result<Cookie<PrintGetScreenOfContextReply>> { ... } fn xprint_print_get_screen_of_context_immediate(
        &mut self
    ) -> Result<PrintGetScreenOfContextReply> { ... } fn xprint_print_start_job(&mut self, output_mode: u8) -> Result<Cookie<()>> { ... } fn xprint_print_start_job_checked(&mut self, output_mode: u8) -> Result<()> { ... } fn xprint_print_end_job(&mut self, cancel: bool) -> Result<Cookie<()>> { ... } fn xprint_print_end_job_checked(&mut self, cancel: bool) -> Result<()> { ... } fn xprint_print_start_doc(&mut self, driver_mode: u8) -> Result<Cookie<()>> { ... } fn xprint_print_start_doc_checked(&mut self, driver_mode: u8) -> Result<()> { ... } fn xprint_print_end_doc(&mut self, cancel: bool) -> Result<Cookie<()>> { ... } fn xprint_print_end_doc_checked(&mut self, cancel: bool) -> Result<()> { ... } fn xprint_print_put_document_data(
        &mut self,
        drawable: Drawable,
        data: impl AsRef<[u8]>,
        doc_format: impl AsRef<[String8]>,
        options: impl AsRef<[String8]>
    ) -> Result<Cookie<()>> { ... } fn xprint_print_put_document_data_checked(
        &mut self,
        drawable: Drawable,
        data: impl AsRef<[u8]>,
        doc_format: impl AsRef<[String8]>,
        options: impl AsRef<[String8]>
    ) -> Result<()> { ... } fn xprint_print_get_document_data(
        &mut self,
        context: Pcontext,
        max_bytes: u32
    ) -> Result<Cookie<PrintGetDocumentDataReply>> { ... } fn xprint_print_get_document_data_immediate(
        &mut self,
        context: Pcontext,
        max_bytes: u32
    ) -> Result<PrintGetDocumentDataReply> { ... } fn xprint_print_start_page(&mut self, window: Window) -> Result<Cookie<()>> { ... } fn xprint_print_start_page_checked(&mut self, window: Window) -> Result<()> { ... } fn xprint_print_end_page(&mut self, cancel: bool) -> Result<Cookie<()>> { ... } fn xprint_print_end_page_checked(&mut self, cancel: bool) -> Result<()> { ... } fn xprint_print_select_input(
        &mut self,
        context: Pcontext,
        event_mask: u32
    ) -> Result<Cookie<()>> { ... } fn xprint_print_select_input_checked(
        &mut self,
        context: Pcontext,
        event_mask: u32
    ) -> Result<()> { ... } fn xprint_print_input_selected(
        &mut self,
        context: Pcontext
    ) -> Result<Cookie<PrintInputSelectedReply>> { ... } fn xprint_print_input_selected_immediate(
        &mut self,
        context: Pcontext
    ) -> Result<PrintInputSelectedReply> { ... } fn xprint_print_get_attributes(
        &mut self,
        context: Pcontext,
        pool: u8
    ) -> Result<Cookie<PrintGetAttributesReply>> { ... } fn xprint_print_get_attributes_immediate(
        &mut self,
        context: Pcontext,
        pool: u8
    ) -> Result<PrintGetAttributesReply> { ... } fn xprint_print_get_one_attributes(
        &mut self,
        context: Pcontext,
        pool: u8,
        name: impl AsRef<[String8]>
    ) -> Result<Cookie<PrintGetOneAttributesReply>> { ... } fn xprint_print_get_one_attributes_immediate(
        &mut self,
        context: Pcontext,
        pool: u8,
        name: impl AsRef<[String8]>
    ) -> Result<PrintGetOneAttributesReply> { ... } fn xprint_print_set_attributes(
        &mut self,
        context: Pcontext,
        string_len: u32,
        pool: u8,
        rule: u8,
        attributes: impl AsRef<[String8]>
    ) -> Result<Cookie<()>> { ... } fn xprint_print_set_attributes_checked(
        &mut self,
        context: Pcontext,
        string_len: u32,
        pool: u8,
        rule: u8,
        attributes: impl AsRef<[String8]>
    ) -> Result<()> { ... } fn xprint_print_get_page_dimensions(
        &mut self,
        context: Pcontext
    ) -> Result<Cookie<PrintGetPageDimensionsReply>> { ... } fn xprint_print_get_page_dimensions_immediate(
        &mut self,
        context: Pcontext
    ) -> Result<PrintGetPageDimensionsReply> { ... } fn xprint_print_query_screens(
        &mut self
    ) -> Result<Cookie<PrintQueryScreensReply>> { ... } fn xprint_print_query_screens_immediate(
        &mut self
    ) -> Result<PrintQueryScreensReply> { ... } fn xprint_print_set_image_resolution(
        &mut self,
        context: Pcontext,
        image_resolution: u16
    ) -> Result<Cookie<PrintSetImageResolutionReply>> { ... } fn xprint_print_set_image_resolution_immediate(
        &mut self,
        context: Pcontext,
        image_resolution: u16
    ) -> Result<PrintSetImageResolutionReply> { ... } fn xprint_print_get_image_resolution(
        &mut self,
        context: Pcontext
    ) -> Result<Cookie<PrintGetImageResolutionReply>> { ... } fn xprint_print_get_image_resolution_immediate(
        &mut self,
        context: Pcontext
    ) -> Result<PrintGetImageResolutionReply> { ... } fn create_window(
        &mut self,
        depth: u8,
        wid: Window,
        parent: Window,
        x: i16,
        y: i16,
        width: u16,
        height: u16,
        border_width: u16,
        class: WindowClass,
        visual: Visualid,
        value_list: impl Borrow<CreateWindowAux>
    ) -> Result<Cookie<()>> { ... } fn create_window_checked(
        &mut self,
        depth: u8,
        wid: Window,
        parent: Window,
        x: i16,
        y: i16,
        width: u16,
        height: u16,
        border_width: u16,
        class: WindowClass,
        visual: Visualid,
        value_list: impl Borrow<CreateWindowAux>
    ) -> Result<()> { ... } fn change_window_attributes(
        &mut self,
        window: Window,
        value_list: impl Borrow<ChangeWindowAttributesAux>
    ) -> Result<Cookie<()>> { ... } fn change_window_attributes_checked(
        &mut self,
        window: Window,
        value_list: impl Borrow<ChangeWindowAttributesAux>
    ) -> Result<()> { ... } fn get_window_attributes(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetWindowAttributesReply>> { ... } fn get_window_attributes_immediate(
        &mut self,
        window: Window
    ) -> Result<GetWindowAttributesReply> { ... } fn destroy_window(&mut self, window: Window) -> Result<Cookie<()>> { ... } fn destroy_window_checked(&mut self, window: Window) -> Result<()> { ... } fn destroy_subwindows(&mut self, window: Window) -> Result<Cookie<()>> { ... } fn destroy_subwindows_checked(&mut self, window: Window) -> Result<()> { ... } fn change_save_set(
        &mut self,
        mode: SetMode,
        window: Window
    ) -> Result<Cookie<()>> { ... } fn change_save_set_checked(
        &mut self,
        mode: SetMode,
        window: Window
    ) -> Result<()> { ... } fn reparent_window(
        &mut self,
        window: Window,
        parent: Window,
        x: i16,
        y: i16
    ) -> Result<Cookie<()>> { ... } fn reparent_window_checked(
        &mut self,
        window: Window,
        parent: Window,
        x: i16,
        y: i16
    ) -> Result<()> { ... } fn map_window(&mut self, window: Window) -> Result<Cookie<()>> { ... } fn map_window_checked(&mut self, window: Window) -> Result<()> { ... } fn map_subwindows(&mut self, window: Window) -> Result<Cookie<()>> { ... } fn map_subwindows_checked(&mut self, window: Window) -> Result<()> { ... } fn unmap_window(&mut self, window: Window) -> Result<Cookie<()>> { ... } fn unmap_window_checked(&mut self, window: Window) -> Result<()> { ... } fn unmap_subwindows(&mut self, window: Window) -> Result<Cookie<()>> { ... } fn unmap_subwindows_checked(&mut self, window: Window) -> Result<()> { ... } fn configure_window(
        &mut self,
        window: Window,
        value_list: impl Borrow<ConfigureWindowAux>
    ) -> Result<Cookie<()>> { ... } fn configure_window_checked(
        &mut self,
        window: Window,
        value_list: impl Borrow<ConfigureWindowAux>
    ) -> Result<()> { ... } fn circulate_window(
        &mut self,
        direction: Circulate,
        window: Window
    ) -> Result<Cookie<()>> { ... } fn circulate_window_checked(
        &mut self,
        direction: Circulate,
        window: Window
    ) -> Result<()> { ... } fn get_geometry(
        &mut self,
        drawable: Drawable
    ) -> Result<Cookie<GetGeometryReply>> { ... } fn get_geometry_immediate(
        &mut self,
        drawable: Drawable
    ) -> Result<GetGeometryReply> { ... } fn query_tree(&mut self, window: Window) -> Result<Cookie<QueryTreeReply>> { ... } fn query_tree_immediate(&mut self, window: Window) -> Result<QueryTreeReply> { ... } fn intern_atom(
        &mut self,
        only_if_exists: bool,
        name: impl AsRef<[u8]>
    ) -> Result<Cookie<InternAtomReply>> { ... } fn intern_atom_immediate(
        &mut self,
        only_if_exists: bool,
        name: impl AsRef<[u8]>
    ) -> Result<InternAtomReply> { ... } fn get_atom_name(&mut self, atom: Atom) -> Result<Cookie<GetAtomNameReply>> { ... } fn get_atom_name_immediate(
        &mut self,
        atom: Atom
    ) -> Result<GetAtomNameReply> { ... } fn change_property(
        &mut self,
        mode: PropMode,
        window: Window,
        property: Atom,
        type_: Atom,
        format: u8,
        data_len: u32,
        data: &impl Void + ?Sized
    ) -> Result<Cookie<()>> { ... } fn change_property_checked(
        &mut self,
        mode: PropMode,
        window: Window,
        property: Atom,
        type_: Atom,
        format: u8,
        data_len: u32,
        data: &impl Void + ?Sized
    ) -> Result<()> { ... } fn delete_property(
        &mut self,
        window: Window,
        property: Atom
    ) -> Result<Cookie<()>> { ... } fn delete_property_checked(
        &mut self,
        window: Window,
        property: Atom
    ) -> Result<()> { ... } fn get_property(
        &mut self,
        delete: bool,
        window: Window,
        property: Atom,
        type_: impl Into<GetPropertyType>,
        long_offset: u32,
        long_length: u32
    ) -> Result<Cookie<GetPropertyReply>> { ... } fn get_property_immediate(
        &mut self,
        delete: bool,
        window: Window,
        property: Atom,
        type_: impl Into<GetPropertyType>,
        long_offset: u32,
        long_length: u32
    ) -> Result<GetPropertyReply> { ... } fn list_properties(
        &mut self,
        window: Window
    ) -> Result<Cookie<ListPropertiesReply>> { ... } fn list_properties_immediate(
        &mut self,
        window: Window
    ) -> Result<ListPropertiesReply> { ... } fn set_selection_owner(
        &mut self,
        owner: impl Into<Window>,
        selection: Atom,
        time: impl Into<Time>
    ) -> Result<Cookie<()>> { ... } fn set_selection_owner_checked(
        &mut self,
        owner: impl Into<Window>,
        selection: Atom,
        time: impl Into<Time>
    ) -> Result<()> { ... } fn get_selection_owner(
        &mut self,
        selection: Atom
    ) -> Result<Cookie<GetSelectionOwnerReply>> { ... } fn get_selection_owner_immediate(
        &mut self,
        selection: Atom
    ) -> Result<GetSelectionOwnerReply> { ... } fn convert_selection(
        &mut self,
        requestor: Window,
        selection: Atom,
        target: Atom,
        property: impl Into<Atom>,
        time: impl Into<Time>
    ) -> Result<Cookie<()>> { ... } fn convert_selection_checked(
        &mut self,
        requestor: Window,
        selection: Atom,
        target: Atom,
        property: impl Into<Atom>,
        time: impl Into<Time>
    ) -> Result<()> { ... } fn send_event(
        &mut self,
        propagate: bool,
        destination: impl Into<SendEventDest>,
        event_mask: impl Into<EventMask>,
        event: impl Borrow<[u8; 32]>
    ) -> Result<Cookie<()>> { ... } fn send_event_checked(
        &mut self,
        propagate: bool,
        destination: impl Into<SendEventDest>,
        event_mask: impl Into<EventMask>,
        event: impl Borrow<[u8; 32]>
    ) -> Result<()> { ... } fn grab_pointer(
        &mut self,
        owner_events: bool,
        grab_window: Window,
        event_mask: impl Into<EventMask>,
        pointer_mode: GrabMode,
        keyboard_mode: GrabMode,
        confine_to: impl Into<Window>,
        cursor: impl Into<Cursor>,
        time: impl Into<Time>
    ) -> Result<Cookie<GrabPointerReply>> { ... } fn grab_pointer_immediate(
        &mut self,
        owner_events: bool,
        grab_window: Window,
        event_mask: impl Into<EventMask>,
        pointer_mode: GrabMode,
        keyboard_mode: GrabMode,
        confine_to: impl Into<Window>,
        cursor: impl Into<Cursor>,
        time: impl Into<Time>
    ) -> Result<GrabPointerReply> { ... } fn ungrab_pointer(&mut self, time: impl Into<Time>) -> Result<Cookie<()>> { ... } fn ungrab_pointer_checked(&mut self, time: impl Into<Time>) -> Result<()> { ... } fn grab_button(
        &mut self,
        owner_events: bool,
        grab_window: Window,
        event_mask: impl Into<EventMask>,
        pointer_mode: GrabMode,
        keyboard_mode: GrabMode,
        confine_to: impl Into<Window>,
        cursor: impl Into<Cursor>,
        button: ButtonIndex,
        modifiers: impl Into<ModMask>
    ) -> Result<Cookie<()>> { ... } fn grab_button_checked(
        &mut self,
        owner_events: bool,
        grab_window: Window,
        event_mask: impl Into<EventMask>,
        pointer_mode: GrabMode,
        keyboard_mode: GrabMode,
        confine_to: impl Into<Window>,
        cursor: impl Into<Cursor>,
        button: ButtonIndex,
        modifiers: impl Into<ModMask>
    ) -> Result<()> { ... } fn ungrab_button(
        &mut self,
        button: ButtonIndex,
        grab_window: Window,
        modifiers: impl Into<ModMask>
    ) -> Result<Cookie<()>> { ... } fn ungrab_button_checked(
        &mut self,
        button: ButtonIndex,
        grab_window: Window,
        modifiers: impl Into<ModMask>
    ) -> Result<()> { ... } fn change_active_pointer_grab(
        &mut self,
        cursor: impl Into<Cursor>,
        time: impl Into<Time>,
        event_mask: impl Into<EventMask>
    ) -> Result<Cookie<()>> { ... } fn change_active_pointer_grab_checked(
        &mut self,
        cursor: impl Into<Cursor>,
        time: impl Into<Time>,
        event_mask: impl Into<EventMask>
    ) -> Result<()> { ... } fn grab_keyboard(
        &mut self,
        owner_events: bool,
        grab_window: Window,
        time: impl Into<Time>,
        pointer_mode: GrabMode,
        keyboard_mode: GrabMode
    ) -> Result<Cookie<GrabKeyboardReply>> { ... } fn grab_keyboard_immediate(
        &mut self,
        owner_events: bool,
        grab_window: Window,
        time: impl Into<Time>,
        pointer_mode: GrabMode,
        keyboard_mode: GrabMode
    ) -> Result<GrabKeyboardReply> { ... } fn ungrab_keyboard(&mut self, time: impl Into<Time>) -> Result<Cookie<()>> { ... } fn ungrab_keyboard_checked(&mut self, time: impl Into<Time>) -> Result<()> { ... } fn grab_key(
        &mut self,
        owner_events: bool,
        grab_window: Window,
        modifiers: impl Into<ModMask>,
        key: impl Into<Grab>,
        pointer_mode: GrabMode,
        keyboard_mode: GrabMode
    ) -> Result<Cookie<()>> { ... } fn grab_key_checked(
        &mut self,
        owner_events: bool,
        grab_window: Window,
        modifiers: impl Into<ModMask>,
        key: impl Into<Grab>,
        pointer_mode: GrabMode,
        keyboard_mode: GrabMode
    ) -> Result<()> { ... } fn ungrab_key(
        &mut self,
        key: impl Into<Grab>,
        grab_window: Window,
        modifiers: impl Into<ModMask>
    ) -> Result<Cookie<()>> { ... } fn ungrab_key_checked(
        &mut self,
        key: impl Into<Grab>,
        grab_window: Window,
        modifiers: impl Into<ModMask>
    ) -> Result<()> { ... } fn allow_events(
        &mut self,
        mode: Allow,
        time: impl Into<Time>
    ) -> Result<Cookie<()>> { ... } fn allow_events_checked(
        &mut self,
        mode: Allow,
        time: impl Into<Time>
    ) -> Result<()> { ... } fn grab_server(&mut self) -> Result<Cookie<()>> { ... } fn grab_server_checked(&mut self) -> Result<()> { ... } fn ungrab_server(&mut self) -> Result<Cookie<()>> { ... } fn ungrab_server_checked(&mut self) -> Result<()> { ... } fn query_pointer(
        &mut self,
        window: Window
    ) -> Result<Cookie<QueryPointerReply>> { ... } fn query_pointer_immediate(
        &mut self,
        window: Window
    ) -> Result<QueryPointerReply> { ... } fn get_motion_events(
        &mut self,
        window: Window,
        start: impl Into<Time>,
        stop: impl Into<Time>
    ) -> Result<Cookie<GetMotionEventsReply>> { ... } fn get_motion_events_immediate(
        &mut self,
        window: Window,
        start: impl Into<Time>,
        stop: impl Into<Time>
    ) -> Result<GetMotionEventsReply> { ... } fn translate_coordinates(
        &mut self,
        src_window: Window,
        dst_window: Window,
        src_x: i16,
        src_y: i16
    ) -> Result<Cookie<TranslateCoordinatesReply>> { ... } fn translate_coordinates_immediate(
        &mut self,
        src_window: Window,
        dst_window: Window,
        src_x: i16,
        src_y: i16
    ) -> Result<TranslateCoordinatesReply> { ... } fn warp_pointer(
        &mut self,
        src_window: impl Into<Window>,
        dst_window: impl Into<Window>,
        src_x: i16,
        src_y: i16,
        src_width: u16,
        src_height: u16,
        dst_x: i16,
        dst_y: i16
    ) -> Result<Cookie<()>> { ... } fn warp_pointer_checked(
        &mut self,
        src_window: impl Into<Window>,
        dst_window: impl Into<Window>,
        src_x: i16,
        src_y: i16,
        src_width: u16,
        src_height: u16,
        dst_x: i16,
        dst_y: i16
    ) -> Result<()> { ... } fn set_input_focus(
        &mut self,
        revert_to: InputFocus,
        focus: impl Into<InputFocus>,
        time: impl Into<Time>
    ) -> Result<Cookie<()>> { ... } fn set_input_focus_checked(
        &mut self,
        revert_to: InputFocus,
        focus: impl Into<InputFocus>,
        time: impl Into<Time>
    ) -> Result<()> { ... } fn get_input_focus(&mut self) -> Result<Cookie<GetInputFocusReply>> { ... } fn get_input_focus_immediate(&mut self) -> Result<GetInputFocusReply> { ... } fn query_keymap(&mut self) -> Result<Cookie<QueryKeymapReply>> { ... } fn query_keymap_immediate(&mut self) -> Result<QueryKeymapReply> { ... } fn open_font(
        &mut self,
        fid: Font,
        name: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn open_font_checked(
        &mut self,
        fid: Font,
        name: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn close_font(&mut self, font: Font) -> Result<Cookie<()>> { ... } fn close_font_checked(&mut self, font: Font) -> Result<()> { ... } fn query_font(&mut self, font: Fontable) -> Result<Cookie<QueryFontReply>> { ... } fn query_font_immediate(&mut self, font: Fontable) -> Result<QueryFontReply> { ... } fn query_text_extents(
        &mut self,
        font: Fontable,
        string: impl AsRef<[Char2b]>
    ) -> Result<Cookie<QueryTextExtentsReply>> { ... } fn query_text_extents_immediate(
        &mut self,
        font: Fontable,
        string: impl AsRef<[Char2b]>
    ) -> Result<QueryTextExtentsReply> { ... } fn list_fonts(
        &mut self,
        max_names: u16,
        pattern: impl AsRef<[u8]>
    ) -> Result<Cookie<ListFontsReply>> { ... } fn list_fonts_immediate(
        &mut self,
        max_names: u16,
        pattern: impl AsRef<[u8]>
    ) -> Result<ListFontsReply> { ... } fn list_fonts_with_info(
        &mut self,
        max_names: u16,
        pattern: impl AsRef<[u8]>
    ) -> Result<Cookie<ListFontsWithInfoReply>> { ... } fn list_fonts_with_info_immediate(
        &mut self,
        max_names: u16,
        pattern: impl AsRef<[u8]>
    ) -> Result<ListFontsWithInfoReply> { ... } fn set_font_path(&mut self, font: impl AsRef<[Str]>) -> Result<Cookie<()>> { ... } fn set_font_path_checked(&mut self, font: impl AsRef<[Str]>) -> Result<()> { ... } fn get_font_path(&mut self) -> Result<Cookie<GetFontPathReply>> { ... } fn get_font_path_immediate(&mut self) -> Result<GetFontPathReply> { ... } fn create_pixmap(
        &mut self,
        depth: u8,
        pid: Pixmap,
        drawable: Drawable,
        width: u16,
        height: u16
    ) -> Result<Cookie<()>> { ... } fn create_pixmap_checked(
        &mut self,
        depth: u8,
        pid: Pixmap,
        drawable: Drawable,
        width: u16,
        height: u16
    ) -> Result<()> { ... } fn free_pixmap(&mut self, pixmap: Pixmap) -> Result<Cookie<()>> { ... } fn free_pixmap_checked(&mut self, pixmap: Pixmap) -> Result<()> { ... } fn create_gc(
        &mut self,
        cid: Gcontext,
        drawable: Drawable,
        value_list: impl Borrow<CreateGCAux>
    ) -> Result<Cookie<()>> { ... } fn create_gc_checked(
        &mut self,
        cid: Gcontext,
        drawable: Drawable,
        value_list: impl Borrow<CreateGCAux>
    ) -> Result<()> { ... } fn change_gc(
        &mut self,
        gc: Gcontext,
        value_list: impl Borrow<ChangeGCAux>
    ) -> Result<Cookie<()>> { ... } fn change_gc_checked(
        &mut self,
        gc: Gcontext,
        value_list: impl Borrow<ChangeGCAux>
    ) -> Result<()> { ... } fn copy_gc(
        &mut self,
        src_gc: Gcontext,
        dst_gc: Gcontext,
        value_mask: impl Into<GC>
    ) -> Result<Cookie<()>> { ... } fn copy_gc_checked(
        &mut self,
        src_gc: Gcontext,
        dst_gc: Gcontext,
        value_mask: impl Into<GC>
    ) -> Result<()> { ... } fn set_dashes(
        &mut self,
        gc: Gcontext,
        dash_offset: u16,
        dashes: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn set_dashes_checked(
        &mut self,
        gc: Gcontext,
        dash_offset: u16,
        dashes: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn set_clip_rectangles(
        &mut self,
        ordering: ClipOrdering,
        gc: Gcontext,
        clip_x_origin: i16,
        clip_y_origin: i16,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<Cookie<()>> { ... } fn set_clip_rectangles_checked(
        &mut self,
        ordering: ClipOrdering,
        gc: Gcontext,
        clip_x_origin: i16,
        clip_y_origin: i16,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<()> { ... } fn free_gc(&mut self, gc: Gcontext) -> Result<Cookie<()>> { ... } fn free_gc_checked(&mut self, gc: Gcontext) -> Result<()> { ... } fn clear_area(
        &mut self,
        exposures: bool,
        window: Window,
        x: i16,
        y: i16,
        width: u16,
        height: u16
    ) -> Result<Cookie<()>> { ... } fn clear_area_checked(
        &mut self,
        exposures: bool,
        window: Window,
        x: i16,
        y: i16,
        width: u16,
        height: u16
    ) -> Result<()> { ... } fn copy_area(
        &mut self,
        src_drawable: Drawable,
        dst_drawable: Drawable,
        gc: Gcontext,
        src_x: i16,
        src_y: i16,
        dst_x: i16,
        dst_y: i16,
        width: u16,
        height: u16
    ) -> Result<Cookie<()>> { ... } fn copy_area_checked(
        &mut self,
        src_drawable: Drawable,
        dst_drawable: Drawable,
        gc: Gcontext,
        src_x: i16,
        src_y: i16,
        dst_x: i16,
        dst_y: i16,
        width: u16,
        height: u16
    ) -> Result<()> { ... } fn copy_plane(
        &mut self,
        src_drawable: Drawable,
        dst_drawable: Drawable,
        gc: Gcontext,
        src_x: i16,
        src_y: i16,
        dst_x: i16,
        dst_y: i16,
        width: u16,
        height: u16,
        bit_plane: u32
    ) -> Result<Cookie<()>> { ... } fn copy_plane_checked(
        &mut self,
        src_drawable: Drawable,
        dst_drawable: Drawable,
        gc: Gcontext,
        src_x: i16,
        src_y: i16,
        dst_x: i16,
        dst_y: i16,
        width: u16,
        height: u16,
        bit_plane: u32
    ) -> Result<()> { ... } fn poly_point(
        &mut self,
        coordinate_mode: CoordMode,
        drawable: Drawable,
        gc: Gcontext,
        points: impl AsRef<[Point]>
    ) -> Result<Cookie<()>> { ... } fn poly_point_checked(
        &mut self,
        coordinate_mode: CoordMode,
        drawable: Drawable,
        gc: Gcontext,
        points: impl AsRef<[Point]>
    ) -> Result<()> { ... } fn poly_line(
        &mut self,
        coordinate_mode: CoordMode,
        drawable: Drawable,
        gc: Gcontext,
        points: impl AsRef<[Point]>
    ) -> Result<Cookie<()>> { ... } fn poly_line_checked(
        &mut self,
        coordinate_mode: CoordMode,
        drawable: Drawable,
        gc: Gcontext,
        points: impl AsRef<[Point]>
    ) -> Result<()> { ... } fn poly_segment(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        segments: impl AsRef<[Segment]>
    ) -> Result<Cookie<()>> { ... } fn poly_segment_checked(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        segments: impl AsRef<[Segment]>
    ) -> Result<()> { ... } fn poly_rectangle(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<Cookie<()>> { ... } fn poly_rectangle_checked(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<()> { ... } fn poly_arc(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        arcs: impl AsRef<[Arc]>
    ) -> Result<Cookie<()>> { ... } fn poly_arc_checked(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        arcs: impl AsRef<[Arc]>
    ) -> Result<()> { ... } fn fill_poly(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        shape: PolyShape,
        coordinate_mode: CoordMode,
        points: impl AsRef<[Point]>
    ) -> Result<Cookie<()>> { ... } fn fill_poly_checked(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        shape: PolyShape,
        coordinate_mode: CoordMode,
        points: impl AsRef<[Point]>
    ) -> Result<()> { ... } fn poly_fill_rectangle(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<Cookie<()>> { ... } fn poly_fill_rectangle_checked(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        rectangles: impl AsRef<[Rectangle]>
    ) -> Result<()> { ... } fn poly_fill_arc(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        arcs: impl AsRef<[Arc]>
    ) -> Result<Cookie<()>> { ... } fn poly_fill_arc_checked(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        arcs: impl AsRef<[Arc]>
    ) -> Result<()> { ... } fn put_image(
        &mut self,
        format: ImageFormat,
        drawable: Drawable,
        gc: Gcontext,
        width: u16,
        height: u16,
        dst_x: i16,
        dst_y: i16,
        left_pad: u8,
        depth: u8,
        data: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn put_image_checked(
        &mut self,
        format: ImageFormat,
        drawable: Drawable,
        gc: Gcontext,
        width: u16,
        height: u16,
        dst_x: i16,
        dst_y: i16,
        left_pad: u8,
        depth: u8,
        data: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn get_image(
        &mut self,
        format: ImageFormat,
        drawable: Drawable,
        x: i16,
        y: i16,
        width: u16,
        height: u16,
        plane_mask: u32
    ) -> Result<Cookie<GetImageReply>> { ... } fn get_image_immediate(
        &mut self,
        format: ImageFormat,
        drawable: Drawable,
        x: i16,
        y: i16,
        width: u16,
        height: u16,
        plane_mask: u32
    ) -> Result<GetImageReply> { ... } fn poly_text8(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        x: i16,
        y: i16,
        items: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn poly_text8_checked(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        x: i16,
        y: i16,
        items: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn poly_text16(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        x: i16,
        y: i16,
        items: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn poly_text16_checked(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        x: i16,
        y: i16,
        items: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn image_text8(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        x: i16,
        y: i16,
        string: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn image_text8_checked(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        x: i16,
        y: i16,
        string: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn image_text16(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        x: i16,
        y: i16,
        string: impl AsRef<[Char2b]>
    ) -> Result<Cookie<()>> { ... } fn image_text16_checked(
        &mut self,
        drawable: Drawable,
        gc: Gcontext,
        x: i16,
        y: i16,
        string: impl AsRef<[Char2b]>
    ) -> Result<()> { ... } fn create_colormap(
        &mut self,
        alloc: ColormapAlloc,
        mid: Colormap,
        window: Window,
        visual: Visualid
    ) -> Result<Cookie<()>> { ... } fn create_colormap_checked(
        &mut self,
        alloc: ColormapAlloc,
        mid: Colormap,
        window: Window,
        visual: Visualid
    ) -> Result<()> { ... } fn free_colormap(&mut self, cmap: Colormap) -> Result<Cookie<()>> { ... } fn free_colormap_checked(&mut self, cmap: Colormap) -> Result<()> { ... } fn copy_colormap_and_free(
        &mut self,
        mid: Colormap,
        src_cmap: Colormap
    ) -> Result<Cookie<()>> { ... } fn copy_colormap_and_free_checked(
        &mut self,
        mid: Colormap,
        src_cmap: Colormap
    ) -> Result<()> { ... } fn install_colormap(&mut self, cmap: Colormap) -> Result<Cookie<()>> { ... } fn install_colormap_checked(&mut self, cmap: Colormap) -> Result<()> { ... } fn uninstall_colormap(&mut self, cmap: Colormap) -> Result<Cookie<()>> { ... } fn uninstall_colormap_checked(&mut self, cmap: Colormap) -> Result<()> { ... } fn list_installed_colormaps(
        &mut self,
        window: Window
    ) -> Result<Cookie<ListInstalledColormapsReply>> { ... } fn list_installed_colormaps_immediate(
        &mut self,
        window: Window
    ) -> Result<ListInstalledColormapsReply> { ... } fn alloc_color(
        &mut self,
        cmap: Colormap,
        red: u16,
        green: u16,
        blue: u16
    ) -> Result<Cookie<AllocColorReply>> { ... } fn alloc_color_immediate(
        &mut self,
        cmap: Colormap,
        red: u16,
        green: u16,
        blue: u16
    ) -> Result<AllocColorReply> { ... } fn alloc_named_color(
        &mut self,
        cmap: Colormap,
        name: impl AsRef<[u8]>
    ) -> Result<Cookie<AllocNamedColorReply>> { ... } fn alloc_named_color_immediate(
        &mut self,
        cmap: Colormap,
        name: impl AsRef<[u8]>
    ) -> Result<AllocNamedColorReply> { ... } fn alloc_color_cells(
        &mut self,
        contiguous: bool,
        cmap: Colormap,
        colors: u16,
        planes: u16
    ) -> Result<Cookie<AllocColorCellsReply>> { ... } fn alloc_color_cells_immediate(
        &mut self,
        contiguous: bool,
        cmap: Colormap,
        colors: u16,
        planes: u16
    ) -> Result<AllocColorCellsReply> { ... } fn alloc_color_planes(
        &mut self,
        contiguous: bool,
        cmap: Colormap,
        colors: u16,
        reds: u16,
        greens: u16,
        blues: u16
    ) -> Result<Cookie<AllocColorPlanesReply>> { ... } fn alloc_color_planes_immediate(
        &mut self,
        contiguous: bool,
        cmap: Colormap,
        colors: u16,
        reds: u16,
        greens: u16,
        blues: u16
    ) -> Result<AllocColorPlanesReply> { ... } fn free_colors(
        &mut self,
        cmap: Colormap,
        plane_mask: u32,
        pixels: impl AsRef<[u32]>
    ) -> Result<Cookie<()>> { ... } fn free_colors_checked(
        &mut self,
        cmap: Colormap,
        plane_mask: u32,
        pixels: impl AsRef<[u32]>
    ) -> Result<()> { ... } fn store_colors(
        &mut self,
        cmap: Colormap,
        items: impl AsRef<[Coloritem]>
    ) -> Result<Cookie<()>> { ... } fn store_colors_checked(
        &mut self,
        cmap: Colormap,
        items: impl AsRef<[Coloritem]>
    ) -> Result<()> { ... } fn store_named_color(
        &mut self,
        flags: impl Into<ColorFlag>,
        cmap: Colormap,
        pixel: u32,
        name: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn store_named_color_checked(
        &mut self,
        flags: impl Into<ColorFlag>,
        cmap: Colormap,
        pixel: u32,
        name: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn query_colors(
        &mut self,
        cmap: Colormap,
        pixels: impl AsRef<[u32]>
    ) -> Result<Cookie<QueryColorsReply>> { ... } fn query_colors_immediate(
        &mut self,
        cmap: Colormap,
        pixels: impl AsRef<[u32]>
    ) -> Result<QueryColorsReply> { ... } fn lookup_color(
        &mut self,
        cmap: Colormap,
        name: impl AsRef<[u8]>
    ) -> Result<Cookie<LookupColorReply>> { ... } fn lookup_color_immediate(
        &mut self,
        cmap: Colormap,
        name: impl AsRef<[u8]>
    ) -> Result<LookupColorReply> { ... } fn create_cursor(
        &mut self,
        cid: Cursor,
        source: Pixmap,
        mask: impl Into<Pixmap>,
        fore_red: u16,
        fore_green: u16,
        fore_blue: u16,
        back_red: u16,
        back_green: u16,
        back_blue: u16,
        x: u16,
        y: u16
    ) -> Result<Cookie<()>> { ... } fn create_cursor_checked(
        &mut self,
        cid: Cursor,
        source: Pixmap,
        mask: impl Into<Pixmap>,
        fore_red: u16,
        fore_green: u16,
        fore_blue: u16,
        back_red: u16,
        back_green: u16,
        back_blue: u16,
        x: u16,
        y: u16
    ) -> Result<()> { ... } fn create_glyph_cursor(
        &mut self,
        cid: Cursor,
        source_font: Font,
        mask_font: impl Into<Font>,
        source_char: u16,
        mask_char: u16,
        fore_red: u16,
        fore_green: u16,
        fore_blue: u16,
        back_red: u16,
        back_green: u16,
        back_blue: u16
    ) -> Result<Cookie<()>> { ... } fn create_glyph_cursor_checked(
        &mut self,
        cid: Cursor,
        source_font: Font,
        mask_font: impl Into<Font>,
        source_char: u16,
        mask_char: u16,
        fore_red: u16,
        fore_green: u16,
        fore_blue: u16,
        back_red: u16,
        back_green: u16,
        back_blue: u16
    ) -> Result<()> { ... } fn free_cursor(&mut self, cursor: Cursor) -> Result<Cookie<()>> { ... } fn free_cursor_checked(&mut self, cursor: Cursor) -> Result<()> { ... } fn recolor_cursor(
        &mut self,
        cursor: Cursor,
        fore_red: u16,
        fore_green: u16,
        fore_blue: u16,
        back_red: u16,
        back_green: u16,
        back_blue: u16
    ) -> Result<Cookie<()>> { ... } fn recolor_cursor_checked(
        &mut self,
        cursor: Cursor,
        fore_red: u16,
        fore_green: u16,
        fore_blue: u16,
        back_red: u16,
        back_green: u16,
        back_blue: u16
    ) -> Result<()> { ... } fn query_best_size(
        &mut self,
        class: QueryShapeOf,
        drawable: Drawable,
        width: u16,
        height: u16
    ) -> Result<Cookie<QueryBestSizeReply>> { ... } fn query_best_size_immediate(
        &mut self,
        class: QueryShapeOf,
        drawable: Drawable,
        width: u16,
        height: u16
    ) -> Result<QueryBestSizeReply> { ... } fn query_extension(
        &mut self,
        name: impl AsRef<[u8]>
    ) -> Result<Cookie<QueryExtensionReply>> { ... } fn query_extension_immediate(
        &mut self,
        name: impl AsRef<[u8]>
    ) -> Result<QueryExtensionReply> { ... } fn list_extensions(&mut self) -> Result<Cookie<ListExtensionsReply>> { ... } fn list_extensions_immediate(&mut self) -> Result<ListExtensionsReply> { ... } fn change_keyboard_mapping(
        &mut self,
        keycode_count: u8,
        first_keycode: Keycode,
        keysyms_per_keycode: u8,
        keysyms: impl AsRef<[Keysym]>
    ) -> Result<Cookie<()>> { ... } fn change_keyboard_mapping_checked(
        &mut self,
        keycode_count: u8,
        first_keycode: Keycode,
        keysyms_per_keycode: u8,
        keysyms: impl AsRef<[Keysym]>
    ) -> Result<()> { ... } fn get_keyboard_mapping(
        &mut self,
        first_keycode: Keycode,
        count: u8
    ) -> Result<Cookie<GetKeyboardMappingReply>> { ... } fn get_keyboard_mapping_immediate(
        &mut self,
        first_keycode: Keycode,
        count: u8
    ) -> Result<GetKeyboardMappingReply> { ... } fn change_keyboard_control(
        &mut self,
        value_list: impl Borrow<ChangeKeyboardControlAux>
    ) -> Result<Cookie<()>> { ... } fn change_keyboard_control_checked(
        &mut self,
        value_list: impl Borrow<ChangeKeyboardControlAux>
    ) -> Result<()> { ... } fn get_keyboard_control(
        &mut self
    ) -> Result<Cookie<GetKeyboardControlReply>> { ... } fn get_keyboard_control_immediate(
        &mut self
    ) -> Result<GetKeyboardControlReply> { ... } fn bell(&mut self, percent: i8) -> Result<Cookie<()>> { ... } fn bell_checked(&mut self, percent: i8) -> Result<()> { ... } fn change_pointer_control(
        &mut self,
        acceleration_numerator: i16,
        acceleration_denominator: i16,
        threshold: i16,
        do_acceleration: bool,
        do_threshold: bool
    ) -> Result<Cookie<()>> { ... } fn change_pointer_control_checked(
        &mut self,
        acceleration_numerator: i16,
        acceleration_denominator: i16,
        threshold: i16,
        do_acceleration: bool,
        do_threshold: bool
    ) -> Result<()> { ... } fn get_pointer_control(&mut self) -> Result<Cookie<GetPointerControlReply>> { ... } fn get_pointer_control_immediate(
        &mut self
    ) -> Result<GetPointerControlReply> { ... } fn set_screen_saver(
        &mut self,
        timeout: i16,
        interval: i16,
        prefer_blanking: Blanking,
        allow_exposures: Exposures
    ) -> Result<Cookie<()>> { ... } fn set_screen_saver_checked(
        &mut self,
        timeout: i16,
        interval: i16,
        prefer_blanking: Blanking,
        allow_exposures: Exposures
    ) -> Result<()> { ... } fn get_screen_saver(&mut self) -> Result<Cookie<GetScreenSaverReply>> { ... } fn get_screen_saver_immediate(&mut self) -> Result<GetScreenSaverReply> { ... } fn change_hosts(
        &mut self,
        mode: HostMode,
        family: Family,
        address: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn change_hosts_checked(
        &mut self,
        mode: HostMode,
        family: Family,
        address: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn list_hosts(&mut self) -> Result<Cookie<ListHostsReply>> { ... } fn list_hosts_immediate(&mut self) -> Result<ListHostsReply> { ... } fn set_access_control(&mut self, mode: AccessControl) -> Result<Cookie<()>> { ... } fn set_access_control_checked(&mut self, mode: AccessControl) -> Result<()> { ... } fn set_close_down_mode(&mut self, mode: CloseDown) -> Result<Cookie<()>> { ... } fn set_close_down_mode_checked(&mut self, mode: CloseDown) -> Result<()> { ... } fn kill_client(&mut self, resource: impl Into<Kill>) -> Result<Cookie<()>> { ... } fn kill_client_checked(&mut self, resource: impl Into<Kill>) -> Result<()> { ... } fn rotate_properties(
        &mut self,
        window: Window,
        delta: i16,
        atoms: impl AsRef<[Atom]>
    ) -> Result<Cookie<()>> { ... } fn rotate_properties_checked(
        &mut self,
        window: Window,
        delta: i16,
        atoms: impl AsRef<[Atom]>
    ) -> Result<()> { ... } fn force_screen_saver(&mut self, mode: ScreenSaver) -> Result<Cookie<()>> { ... } fn force_screen_saver_checked(&mut self, mode: ScreenSaver) -> Result<()> { ... } fn set_pointer_mapping(
        &mut self,
        map: impl AsRef<[u8]>
    ) -> Result<Cookie<SetPointerMappingReply>> { ... } fn set_pointer_mapping_immediate(
        &mut self,
        map: impl AsRef<[u8]>
    ) -> Result<SetPointerMappingReply> { ... } fn get_pointer_mapping(&mut self) -> Result<Cookie<GetPointerMappingReply>> { ... } fn get_pointer_mapping_immediate(
        &mut self
    ) -> Result<GetPointerMappingReply> { ... } fn set_modifier_mapping(
        &mut self,
        keycodes: impl AsRef<[Keycode]>
    ) -> Result<Cookie<SetModifierMappingReply>> { ... } fn set_modifier_mapping_immediate(
        &mut self,
        keycodes: impl AsRef<[Keycode]>
    ) -> Result<SetModifierMappingReply> { ... } fn get_modifier_mapping(
        &mut self
    ) -> Result<Cookie<GetModifierMappingReply>> { ... } fn get_modifier_mapping_immediate(
        &mut self
    ) -> Result<GetModifierMappingReply> { ... } fn no_operation(&mut self) -> Result<Cookie<()>> { ... } fn no_operation_checked(&mut self) -> Result<()> { ... } fn xselinux_query_version(
        &mut self,
        client_major: u8,
        client_minor: u8
    ) -> Result<Cookie<QueryVersionReply>> { ... } fn xselinux_query_version_immediate(
        &mut self,
        client_major: u8,
        client_minor: u8
    ) -> Result<QueryVersionReply> { ... } fn xselinux_set_device_create_context(
        &mut self,
        context: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xselinux_set_device_create_context_checked(
        &mut self,
        context: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xselinux_get_device_create_context(
        &mut self
    ) -> Result<Cookie<GetDeviceCreateContextReply>> { ... } fn xselinux_get_device_create_context_immediate(
        &mut self
    ) -> Result<GetDeviceCreateContextReply> { ... } fn xselinux_set_device_context(
        &mut self,
        device: u32,
        context: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xselinux_set_device_context_checked(
        &mut self,
        device: u32,
        context: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xselinux_get_device_context(
        &mut self,
        device: u32
    ) -> Result<Cookie<GetDeviceContextReply>> { ... } fn xselinux_get_device_context_immediate(
        &mut self,
        device: u32
    ) -> Result<GetDeviceContextReply> { ... } fn xselinux_set_window_create_context(
        &mut self,
        context: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xselinux_set_window_create_context_checked(
        &mut self,
        context: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xselinux_get_window_create_context(
        &mut self
    ) -> Result<Cookie<GetWindowCreateContextReply>> { ... } fn xselinux_get_window_create_context_immediate(
        &mut self
    ) -> Result<GetWindowCreateContextReply> { ... } fn xselinux_get_window_context(
        &mut self,
        window: Window
    ) -> Result<Cookie<GetWindowContextReply>> { ... } fn xselinux_get_window_context_immediate(
        &mut self,
        window: Window
    ) -> Result<GetWindowContextReply> { ... } fn xselinux_set_property_create_context(
        &mut self,
        context: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xselinux_set_property_create_context_checked(
        &mut self,
        context: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xselinux_get_property_create_context(
        &mut self
    ) -> Result<Cookie<GetPropertyCreateContextReply>> { ... } fn xselinux_get_property_create_context_immediate(
        &mut self
    ) -> Result<GetPropertyCreateContextReply> { ... } fn xselinux_set_property_use_context(
        &mut self,
        context: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xselinux_set_property_use_context_checked(
        &mut self,
        context: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xselinux_get_property_use_context(
        &mut self
    ) -> Result<Cookie<GetPropertyUseContextReply>> { ... } fn xselinux_get_property_use_context_immediate(
        &mut self
    ) -> Result<GetPropertyUseContextReply> { ... } fn xselinux_get_property_context(
        &mut self,
        window: Window,
        property: Atom
    ) -> Result<Cookie<GetPropertyContextReply>> { ... } fn xselinux_get_property_context_immediate(
        &mut self,
        window: Window,
        property: Atom
    ) -> Result<GetPropertyContextReply> { ... } fn xselinux_get_property_data_context(
        &mut self,
        window: Window,
        property: Atom
    ) -> Result<Cookie<GetPropertyDataContextReply>> { ... } fn xselinux_get_property_data_context_immediate(
        &mut self,
        window: Window,
        property: Atom
    ) -> Result<GetPropertyDataContextReply> { ... } fn xselinux_list_properties(
        &mut self,
        window: Window
    ) -> Result<Cookie<ListPropertiesReply>> { ... } fn xselinux_list_properties_immediate(
        &mut self,
        window: Window
    ) -> Result<ListPropertiesReply> { ... } fn xselinux_set_selection_create_context(
        &mut self,
        context: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xselinux_set_selection_create_context_checked(
        &mut self,
        context: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xselinux_get_selection_create_context(
        &mut self
    ) -> Result<Cookie<GetSelectionCreateContextReply>> { ... } fn xselinux_get_selection_create_context_immediate(
        &mut self
    ) -> Result<GetSelectionCreateContextReply> { ... } fn xselinux_set_selection_use_context(
        &mut self,
        context: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xselinux_set_selection_use_context_checked(
        &mut self,
        context: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xselinux_get_selection_use_context(
        &mut self
    ) -> Result<Cookie<GetSelectionUseContextReply>> { ... } fn xselinux_get_selection_use_context_immediate(
        &mut self
    ) -> Result<GetSelectionUseContextReply> { ... } fn xselinux_get_selection_context(
        &mut self,
        selection: Atom
    ) -> Result<Cookie<GetSelectionContextReply>> { ... } fn xselinux_get_selection_context_immediate(
        &mut self,
        selection: Atom
    ) -> Result<GetSelectionContextReply> { ... } fn xselinux_get_selection_data_context(
        &mut self,
        selection: Atom
    ) -> Result<Cookie<GetSelectionDataContextReply>> { ... } fn xselinux_get_selection_data_context_immediate(
        &mut self,
        selection: Atom
    ) -> Result<GetSelectionDataContextReply> { ... } fn xselinux_list_selections(
        &mut self
    ) -> Result<Cookie<ListSelectionsReply>> { ... } fn xselinux_list_selections_immediate(
        &mut self
    ) -> Result<ListSelectionsReply> { ... } fn xselinux_get_client_context(
        &mut self,
        resource: u32
    ) -> Result<Cookie<GetClientContextReply>> { ... } fn xselinux_get_client_context_immediate(
        &mut self,
        resource: u32
    ) -> Result<GetClientContextReply> { ... } fn xtest_get_version(
        &mut self,
        major_version: u8,
        minor_version: u16
    ) -> Result<Cookie<GetVersionReply>> { ... } fn xtest_get_version_immediate(
        &mut self,
        major_version: u8,
        minor_version: u16
    ) -> Result<GetVersionReply> { ... } fn xtest_compare_cursor(
        &mut self,
        window: Window,
        cursor: Cursor
    ) -> Result<Cookie<CompareCursorReply>> { ... } fn xtest_compare_cursor_immediate(
        &mut self,
        window: Window,
        cursor: Cursor
    ) -> Result<CompareCursorReply> { ... } fn xtest_fake_input(
        &mut self,
        type_: u8,
        detail: u8,
        time: u32,
        root: Window,
        root_x: i16,
        root_y: i16,
        deviceid: u8
    ) -> Result<Cookie<()>> { ... } fn xtest_fake_input_checked(
        &mut self,
        type_: u8,
        detail: u8,
        time: u32,
        root: Window,
        root_x: i16,
        root_y: i16,
        deviceid: u8
    ) -> Result<()> { ... } fn xtest_grab_control(&mut self, impervious: bool) -> Result<Cookie<()>> { ... } fn xtest_grab_control_checked(&mut self, impervious: bool) -> Result<()> { ... } fn xv_query_extension(&mut self) -> Result<Cookie<QueryExtensionReply>> { ... } fn xv_query_extension_immediate(&mut self) -> Result<QueryExtensionReply> { ... } fn xv_query_adaptors(
        &mut self,
        window: Window
    ) -> Result<Cookie<QueryAdaptorsReply>> { ... } fn xv_query_adaptors_immediate(
        &mut self,
        window: Window
    ) -> Result<QueryAdaptorsReply> { ... } fn xv_query_encodings(
        &mut self,
        port: Port
    ) -> Result<Cookie<QueryEncodingsReply>> { ... } fn xv_query_encodings_immediate(
        &mut self,
        port: Port
    ) -> Result<QueryEncodingsReply> { ... } fn xv_grab_port(
        &mut self,
        port: Port,
        time: impl Into<Time>
    ) -> Result<Cookie<GrabPortReply>> { ... } fn xv_grab_port_immediate(
        &mut self,
        port: Port,
        time: impl Into<Time>
    ) -> Result<GrabPortReply> { ... } fn xv_ungrab_port(
        &mut self,
        port: Port,
        time: impl Into<Time>
    ) -> Result<Cookie<()>> { ... } fn xv_ungrab_port_checked(
        &mut self,
        port: Port,
        time: impl Into<Time>
    ) -> Result<()> { ... } fn xv_put_video(
        &mut self,
        port: Port,
        drawable: Drawable,
        gc: Gcontext,
        vid_x: i16,
        vid_y: i16,
        vid_w: u16,
        vid_h: u16,
        drw_x: i16,
        drw_y: i16,
        drw_w: u16,
        drw_h: u16
    ) -> Result<Cookie<()>> { ... } fn xv_put_video_checked(
        &mut self,
        port: Port,
        drawable: Drawable,
        gc: Gcontext,
        vid_x: i16,
        vid_y: i16,
        vid_w: u16,
        vid_h: u16,
        drw_x: i16,
        drw_y: i16,
        drw_w: u16,
        drw_h: u16
    ) -> Result<()> { ... } fn xv_put_still(
        &mut self,
        port: Port,
        drawable: Drawable,
        gc: Gcontext,
        vid_x: i16,
        vid_y: i16,
        vid_w: u16,
        vid_h: u16,
        drw_x: i16,
        drw_y: i16,
        drw_w: u16,
        drw_h: u16
    ) -> Result<Cookie<()>> { ... } fn xv_put_still_checked(
        &mut self,
        port: Port,
        drawable: Drawable,
        gc: Gcontext,
        vid_x: i16,
        vid_y: i16,
        vid_w: u16,
        vid_h: u16,
        drw_x: i16,
        drw_y: i16,
        drw_w: u16,
        drw_h: u16
    ) -> Result<()> { ... } fn xv_get_video(
        &mut self,
        port: Port,
        drawable: Drawable,
        gc: Gcontext,
        vid_x: i16,
        vid_y: i16,
        vid_w: u16,
        vid_h: u16,
        drw_x: i16,
        drw_y: i16,
        drw_w: u16,
        drw_h: u16
    ) -> Result<Cookie<()>> { ... } fn xv_get_video_checked(
        &mut self,
        port: Port,
        drawable: Drawable,
        gc: Gcontext,
        vid_x: i16,
        vid_y: i16,
        vid_w: u16,
        vid_h: u16,
        drw_x: i16,
        drw_y: i16,
        drw_w: u16,
        drw_h: u16
    ) -> Result<()> { ... } fn xv_get_still(
        &mut self,
        port: Port,
        drawable: Drawable,
        gc: Gcontext,
        vid_x: i16,
        vid_y: i16,
        vid_w: u16,
        vid_h: u16,
        drw_x: i16,
        drw_y: i16,
        drw_w: u16,
        drw_h: u16
    ) -> Result<Cookie<()>> { ... } fn xv_get_still_checked(
        &mut self,
        port: Port,
        drawable: Drawable,
        gc: Gcontext,
        vid_x: i16,
        vid_y: i16,
        vid_w: u16,
        vid_h: u16,
        drw_x: i16,
        drw_y: i16,
        drw_w: u16,
        drw_h: u16
    ) -> Result<()> { ... } fn xv_stop_video(
        &mut self,
        port: Port,
        drawable: Drawable
    ) -> Result<Cookie<()>> { ... } fn xv_stop_video_checked(
        &mut self,
        port: Port,
        drawable: Drawable
    ) -> Result<()> { ... } fn xv_select_video_notify(
        &mut self,
        drawable: Drawable,
        onoff: bool
    ) -> Result<Cookie<()>> { ... } fn xv_select_video_notify_checked(
        &mut self,
        drawable: Drawable,
        onoff: bool
    ) -> Result<()> { ... } fn xv_select_port_notify(
        &mut self,
        port: Port,
        onoff: bool
    ) -> Result<Cookie<()>> { ... } fn xv_select_port_notify_checked(
        &mut self,
        port: Port,
        onoff: bool
    ) -> Result<()> { ... } fn xv_query_best_size(
        &mut self,
        port: Port,
        vid_w: u16,
        vid_h: u16,
        drw_w: u16,
        drw_h: u16,
        motion: bool
    ) -> Result<Cookie<QueryBestSizeReply>> { ... } fn xv_query_best_size_immediate(
        &mut self,
        port: Port,
        vid_w: u16,
        vid_h: u16,
        drw_w: u16,
        drw_h: u16,
        motion: bool
    ) -> Result<QueryBestSizeReply> { ... } fn xv_set_port_attribute(
        &mut self,
        port: Port,
        attribute: Atom,
        value: i32
    ) -> Result<Cookie<()>> { ... } fn xv_set_port_attribute_checked(
        &mut self,
        port: Port,
        attribute: Atom,
        value: i32
    ) -> Result<()> { ... } fn xv_get_port_attribute(
        &mut self,
        port: Port,
        attribute: Atom
    ) -> Result<Cookie<GetPortAttributeReply>> { ... } fn xv_get_port_attribute_immediate(
        &mut self,
        port: Port,
        attribute: Atom
    ) -> Result<GetPortAttributeReply> { ... } fn xv_query_port_attributes(
        &mut self,
        port: Port
    ) -> Result<Cookie<QueryPortAttributesReply>> { ... } fn xv_query_port_attributes_immediate(
        &mut self,
        port: Port
    ) -> Result<QueryPortAttributesReply> { ... } fn xv_list_image_formats(
        &mut self,
        port: Port
    ) -> Result<Cookie<ListImageFormatsReply>> { ... } fn xv_list_image_formats_immediate(
        &mut self,
        port: Port
    ) -> Result<ListImageFormatsReply> { ... } fn xv_query_image_attributes(
        &mut self,
        port: Port,
        id: u32,
        width: u16,
        height: u16
    ) -> Result<Cookie<QueryImageAttributesReply>> { ... } fn xv_query_image_attributes_immediate(
        &mut self,
        port: Port,
        id: u32,
        width: u16,
        height: u16
    ) -> Result<QueryImageAttributesReply> { ... } fn xv_put_image(
        &mut self,
        port: Port,
        drawable: Drawable,
        gc: Gcontext,
        id: u32,
        src_x: i16,
        src_y: i16,
        src_w: u16,
        src_h: u16,
        drw_x: i16,
        drw_y: i16,
        drw_w: u16,
        drw_h: u16,
        width: u16,
        height: u16,
        data: impl AsRef<[u8]>
    ) -> Result<Cookie<()>> { ... } fn xv_put_image_checked(
        &mut self,
        port: Port,
        drawable: Drawable,
        gc: Gcontext,
        id: u32,
        src_x: i16,
        src_y: i16,
        src_w: u16,
        src_h: u16,
        drw_x: i16,
        drw_y: i16,
        drw_w: u16,
        drw_h: u16,
        width: u16,
        height: u16,
        data: impl AsRef<[u8]>
    ) -> Result<()> { ... } fn xv_shm_put_image(
        &mut self,
        port: Port,
        drawable: Drawable,
        gc: Gcontext,
        shmseg: Seg,
        id: u32,
        offset: u32,
        src_x: i16,
        src_y: i16,
        src_w: u16,
        src_h: u16,
        drw_x: i16,
        drw_y: i16,
        drw_w: u16,
        drw_h: u16,
        width: u16,
        height: u16,
        send_event: u8
    ) -> Result<Cookie<()>> { ... } fn xv_shm_put_image_checked(
        &mut self,
        port: Port,
        drawable: Drawable,
        gc: Gcontext,
        shmseg: Seg,
        id: u32,
        offset: u32,
        src_x: i16,
        src_y: i16,
        src_w: u16,
        src_h: u16,
        drw_x: i16,
        drw_y: i16,
        drw_w: u16,
        drw_h: u16,
        width: u16,
        height: u16,
        send_event: u8
    ) -> Result<()> { ... } fn xvmc_query_version(&mut self) -> Result<Cookie<QueryVersionReply>> { ... } fn xvmc_query_version_immediate(&mut self) -> Result<QueryVersionReply> { ... } fn xvmc_list_surface_types(
        &mut self,
        port_id: Port
    ) -> Result<Cookie<ListSurfaceTypesReply>> { ... } fn xvmc_list_surface_types_immediate(
        &mut self,
        port_id: Port
    ) -> Result<ListSurfaceTypesReply> { ... } fn xvmc_create_context(
        &mut self,
        context_id: Context,
        port_id: Port,
        surface_id: Surface,
        width: u16,
        height: u16,
        flags: u32
    ) -> Result<Cookie<CreateContextReply>> { ... } fn xvmc_create_context_immediate(
        &mut self,
        context_id: Context,
        port_id: Port,
        surface_id: Surface,
        width: u16,
        height: u16,
        flags: u32
    ) -> Result<CreateContextReply> { ... } fn xvmc_destroy_context(
        &mut self,
        context_id: Context
    ) -> Result<Cookie<()>> { ... } fn xvmc_destroy_context_checked(
        &mut self,
        context_id: Context
    ) -> Result<()> { ... } fn xvmc_create_surface(
        &mut self,
        surface_id: Surface,
        context_id: Context
    ) -> Result<Cookie<CreateSurfaceReply>> { ... } fn xvmc_create_surface_immediate(
        &mut self,
        surface_id: Surface,
        context_id: Context
    ) -> Result<CreateSurfaceReply> { ... } fn xvmc_destroy_surface(
        &mut self,
        surface_id: Surface
    ) -> Result<Cookie<()>> { ... } fn xvmc_destroy_surface_checked(
        &mut self,
        surface_id: Surface
    ) -> Result<()> { ... } fn xvmc_create_subpicture(
        &mut self,
        subpicture_id: Subpicture,
        context: Context,
        xvimage_id: u32,
        width: u16,
        height: u16
    ) -> Result<Cookie<CreateSubpictureReply>> { ... } fn xvmc_create_subpicture_immediate(
        &mut self,
        subpicture_id: Subpicture,
        context: Context,
        xvimage_id: u32,
        width: u16,
        height: u16
    ) -> Result<CreateSubpictureReply> { ... } fn xvmc_destroy_subpicture(
        &mut self,
        subpicture_id: Subpicture
    ) -> Result<Cookie<()>> { ... } fn xvmc_destroy_subpicture_checked(
        &mut self,
        subpicture_id: Subpicture
    ) -> Result<()> { ... } fn xvmc_list_subpicture_types(
        &mut self,
        port_id: Port,
        surface_id: Surface
    ) -> Result<Cookie<ListSubpictureTypesReply>> { ... } fn xvmc_list_subpicture_types_immediate(
        &mut self,
        port_id: Port,
        surface_id: Surface
    ) -> Result<ListSubpictureTypesReply> { ... }
}

Provided Methods

Implementors