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>

Object Safety§

This trait is not object safe.

Implementors§