x11rb::protocol::xfixes

Trait ConnectionExt

Source
pub trait ConnectionExt: RequestConnection {
Show 35 methods // Provided methods fn xfixes_query_version( &self, client_major_version: u32, client_minor_version: u32, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError> { ... } fn xfixes_change_save_set( &self, mode: SaveSetMode, target: SaveSetTarget, map: SaveSetMapping, window: Window, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_select_selection_input( &self, window: Window, selection: Atom, event_mask: SelectionEventMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_select_cursor_input( &self, window: Window, event_mask: CursorNotifyMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_get_cursor_image( &self, ) -> Result<Cookie<'_, Self, GetCursorImageReply>, ConnectionError> { ... } fn xfixes_create_region<'c, 'input>( &'c self, region: Region, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xfixes_create_region_from_bitmap( &self, region: Region, bitmap: Pixmap, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_create_region_from_window( &self, region: Region, window: Window, kind: SK, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_create_region_from_gc( &self, region: Region, gc: Gcontext, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_create_region_from_picture( &self, region: Region, picture: Picture, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_destroy_region( &self, region: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_set_region<'c, 'input>( &'c self, region: Region, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xfixes_copy_region( &self, source: Region, destination: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_union_region( &self, source1: Region, source2: Region, destination: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_intersect_region( &self, source1: Region, source2: Region, destination: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_subtract_region( &self, source1: Region, source2: Region, destination: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_invert_region( &self, source: Region, bounds: Rectangle, destination: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_translate_region( &self, region: Region, dx: i16, dy: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_region_extents( &self, source: Region, destination: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_fetch_region( &self, region: Region, ) -> Result<Cookie<'_, Self, FetchRegionReply>, ConnectionError> { ... } fn xfixes_set_gc_clip_region<A>( &self, gc: Gcontext, region: A, x_origin: i16, y_origin: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError> where A: Into<Region> { ... } fn xfixes_set_window_shape_region<A>( &self, dest: Window, dest_kind: SK, x_offset: i16, y_offset: i16, region: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError> where A: Into<Region> { ... } fn xfixes_set_picture_clip_region<A>( &self, picture: Picture, region: A, x_origin: i16, y_origin: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError> where A: Into<Region> { ... } fn xfixes_set_cursor_name<'c, 'input>( &'c self, cursor: Cursor, name: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xfixes_get_cursor_name( &self, cursor: Cursor, ) -> Result<Cookie<'_, Self, GetCursorNameReply>, ConnectionError> { ... } fn xfixes_get_cursor_image_and_name( &self, ) -> Result<Cookie<'_, Self, GetCursorImageAndNameReply>, ConnectionError> { ... } fn xfixes_change_cursor( &self, source: Cursor, destination: Cursor, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_change_cursor_by_name<'c, 'input>( &'c self, src: Cursor, name: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xfixes_expand_region( &self, source: Region, destination: Region, left: u16, right: u16, top: u16, bottom: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_hide_cursor( &self, window: Window, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_show_cursor( &self, window: Window, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_create_pointer_barrier<'c, 'input>( &'c self, barrier: Barrier, window: Window, x1: u16, y1: u16, x2: u16, y2: u16, directions: BarrierDirections, devices: &'input [u16], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xfixes_delete_pointer_barrier( &self, barrier: Barrier, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_set_client_disconnect_mode( &self, disconnect_mode: ClientDisconnectFlags, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xfixes_get_client_disconnect_mode( &self, ) -> Result<Cookie<'_, Self, GetClientDisconnectModeReply>, ConnectionError> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

Source

fn xfixes_query_version( &self, client_major_version: u32, client_minor_version: u32, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

Source

fn xfixes_change_save_set( &self, mode: SaveSetMode, target: SaveSetTarget, map: SaveSetMapping, window: Window, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_select_selection_input( &self, window: Window, selection: Atom, event_mask: SelectionEventMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_select_cursor_input( &self, window: Window, event_mask: CursorNotifyMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_get_cursor_image( &self, ) -> Result<Cookie<'_, Self, GetCursorImageReply>, ConnectionError>

Source

fn xfixes_create_region<'c, 'input>( &'c self, region: Region, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn xfixes_create_region_from_bitmap( &self, region: Region, bitmap: Pixmap, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_create_region_from_window( &self, region: Region, window: Window, kind: SK, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_create_region_from_gc( &self, region: Region, gc: Gcontext, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_create_region_from_picture( &self, region: Region, picture: Picture, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_destroy_region( &self, region: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_set_region<'c, 'input>( &'c self, region: Region, rectangles: &'input [Rectangle], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn xfixes_copy_region( &self, source: Region, destination: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_union_region( &self, source1: Region, source2: Region, destination: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_intersect_region( &self, source1: Region, source2: Region, destination: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_subtract_region( &self, source1: Region, source2: Region, destination: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_invert_region( &self, source: Region, bounds: Rectangle, destination: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_translate_region( &self, region: Region, dx: i16, dy: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_region_extents( &self, source: Region, destination: Region, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_fetch_region( &self, region: Region, ) -> Result<Cookie<'_, Self, FetchRegionReply>, ConnectionError>

Source

fn xfixes_set_gc_clip_region<A>( &self, gc: Gcontext, region: A, x_origin: i16, y_origin: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<Region>,

Source

fn xfixes_set_window_shape_region<A>( &self, dest: Window, dest_kind: SK, x_offset: i16, y_offset: i16, region: A, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<Region>,

Source

fn xfixes_set_picture_clip_region<A>( &self, picture: Picture, region: A, x_origin: i16, y_origin: i16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<Region>,

Source

fn xfixes_set_cursor_name<'c, 'input>( &'c self, cursor: Cursor, name: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn xfixes_get_cursor_name( &self, cursor: Cursor, ) -> Result<Cookie<'_, Self, GetCursorNameReply>, ConnectionError>

Source

fn xfixes_get_cursor_image_and_name( &self, ) -> Result<Cookie<'_, Self, GetCursorImageAndNameReply>, ConnectionError>

Source

fn xfixes_change_cursor( &self, source: Cursor, destination: Cursor, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_change_cursor_by_name<'c, 'input>( &'c self, src: Cursor, name: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn xfixes_expand_region( &self, source: Region, destination: Region, left: u16, right: u16, top: u16, bottom: u16, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_hide_cursor( &self, window: Window, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_show_cursor( &self, window: Window, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_create_pointer_barrier<'c, 'input>( &'c self, barrier: Barrier, window: Window, x1: u16, y1: u16, x2: u16, y2: u16, directions: BarrierDirections, devices: &'input [u16], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

Source

fn xfixes_delete_pointer_barrier( &self, barrier: Barrier, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Source

fn xfixes_set_client_disconnect_mode( &self, disconnect_mode: ClientDisconnectFlags, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Sets the disconnect mode for the client..

§Fields
  • disconnect_mode - The new disconnect mode.
Source

fn xfixes_get_client_disconnect_mode( &self, ) -> Result<Cookie<'_, Self, GetClientDisconnectModeReply>, 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§