x11rb::protocol::shape

Trait ConnectionExt

Source
pub trait ConnectionExt: RequestConnection {
    // Provided methods
    fn shape_query_version(
        &self,
    ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError> { ... }
    fn shape_rectangles<'c, 'input>(
        &'c self,
        operation: SO,
        destination_kind: SK,
        ordering: ClipOrdering,
        destination_window: Window,
        x_offset: i16,
        y_offset: i16,
        rectangles: &'input [Rectangle],
    ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... }
    fn shape_mask<A>(
        &self,
        operation: SO,
        destination_kind: SK,
        destination_window: Window,
        x_offset: i16,
        y_offset: i16,
        source_bitmap: A,
    ) -> Result<VoidCookie<'_, Self>, ConnectionError>
       where A: Into<Pixmap> { ... }
    fn shape_combine(
        &self,
        operation: SO,
        destination_kind: SK,
        source_kind: SK,
        destination_window: Window,
        x_offset: i16,
        y_offset: i16,
        source_window: Window,
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn shape_offset(
        &self,
        destination_kind: SK,
        destination_window: Window,
        x_offset: i16,
        y_offset: i16,
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn shape_query_extents(
        &self,
        destination_window: Window,
    ) -> Result<Cookie<'_, Self, QueryExtentsReply>, ConnectionError> { ... }
    fn shape_select_input(
        &self,
        destination_window: Window,
        enable: bool,
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn shape_input_selected(
        &self,
        destination_window: Window,
    ) -> Result<Cookie<'_, Self, InputSelectedReply>, ConnectionError> { ... }
    fn shape_get_rectangles(
        &self,
        window: Window,
        source_kind: SK,
    ) -> Result<Cookie<'_, Self, GetRectanglesReply>, ConnectionError> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

Source

fn shape_query_version( &self, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

Source

fn shape_rectangles<'c, 'input>( &'c self, operation: SO, destination_kind: SK, ordering: ClipOrdering, destination_window: Window, x_offset: i16, y_offset: i16, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn shape_mask<A>( &self, operation: SO, destination_kind: SK, destination_window: Window, x_offset: i16, y_offset: i16, source_bitmap: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<Pixmap>,

Source

fn shape_combine( &self, operation: SO, destination_kind: SK, source_kind: SK, destination_window: Window, x_offset: i16, y_offset: i16, source_window: Window, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn shape_offset( &self, destination_kind: SK, destination_window: Window, x_offset: i16, y_offset: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn shape_query_extents( &self, destination_window: Window, ) -> Result<Cookie<'_, Self, QueryExtentsReply>, ConnectionError>

Source

fn shape_select_input( &self, destination_window: Window, enable: bool, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn shape_input_selected( &self, destination_window: Window, ) -> Result<Cookie<'_, Self, InputSelectedReply>, ConnectionError>

Source

fn shape_get_rectangles( &self, window: Window, source_kind: SK, ) -> Result<Cookie<'_, Self, GetRectanglesReply>, ConnectionError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§