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