Trait x11rb::protocol::present::ConnectionExt

source ·
pub trait ConnectionExt: RequestConnection {
    // Provided methods
    fn present_query_version(
        &self,
        major_version: u32,
        minor_version: u32
    ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError> { ... }
    fn present_pixmap<'c, 'input>(
        &'c 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: &'input [Notify]
    ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... }
    fn present_notify_msc(
        &self,
        window: Window,
        serial: u32,
        target_msc: u64,
        divisor: u64,
        remainder: u64
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn present_select_input(
        &self,
        eid: Event,
        window: Window,
        event_mask: EventMask
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn present_query_capabilities(
        &self,
        target: u32
    ) -> Result<Cookie<'_, Self, QueryCapabilitiesReply>, ConnectionError> { ... }
    fn present_pixmap_synced<'c, 'input>(
        &'c self,
        window: Window,
        pixmap: Pixmap,
        serial: u32,
        valid: Region,
        update: Region,
        x_off: i16,
        y_off: i16,
        target_crtc: Crtc,
        acquire_syncobj: Syncobj,
        release_syncobj: Syncobj,
        acquire_point: u64,
        release_point: u64,
        options: u32,
        target_msc: u64,
        divisor: u64,
        remainder: u64,
        notifies: &'input [Notify]
    ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

source

fn present_query_version( &self, major_version: u32, minor_version: u32 ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

source

fn present_pixmap<'c, 'input>( &'c 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: &'input [Notify] ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn present_notify_msc( &self, window: Window, serial: u32, target_msc: u64, divisor: u64, remainder: u64 ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn present_select_input( &self, eid: Event, window: Window, event_mask: EventMask ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn present_query_capabilities( &self, target: u32 ) -> Result<Cookie<'_, Self, QueryCapabilitiesReply>, ConnectionError>

source

fn present_pixmap_synced<'c, 'input>( &'c self, window: Window, pixmap: Pixmap, serial: u32, valid: Region, update: Region, x_off: i16, y_off: i16, target_crtc: Crtc, acquire_syncobj: Syncobj, release_syncobj: Syncobj, acquire_point: u64, release_point: u64, options: u32, target_msc: u64, divisor: u64, remainder: u64, notifies: &'input [Notify] ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Object Safety§

This trait is not object safe.

Implementors§