Trait x11rb::protocol::randr::ConnectionExt

source ·
pub trait ConnectionExt: RequestConnection {
Show 45 methods // Provided methods fn randr_query_version( &self, major_version: u32, minor_version: u32, ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError> { ... } fn randr_set_screen_config( &self, window: Window, timestamp: Timestamp, config_timestamp: Timestamp, size_id: u16, rotation: Rotation, rate: u16, ) -> Result<Cookie<'_, Self, SetScreenConfigReply>, ConnectionError> { ... } fn randr_select_input( &self, window: Window, enable: NotifyMask, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn randr_get_screen_info( &self, window: Window, ) -> Result<Cookie<'_, Self, GetScreenInfoReply>, ConnectionError> { ... } fn randr_get_screen_size_range( &self, window: Window, ) -> Result<Cookie<'_, Self, GetScreenSizeRangeReply>, ConnectionError> { ... } fn randr_set_screen_size( &self, window: Window, width: u16, height: u16, mm_width: u32, mm_height: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn randr_get_screen_resources( &self, window: Window, ) -> Result<Cookie<'_, Self, GetScreenResourcesReply>, ConnectionError> { ... } fn randr_get_output_info( &self, output: Output, config_timestamp: Timestamp, ) -> Result<Cookie<'_, Self, GetOutputInfoReply>, ConnectionError> { ... } fn randr_list_output_properties( &self, output: Output, ) -> Result<Cookie<'_, Self, ListOutputPropertiesReply>, ConnectionError> { ... } fn randr_query_output_property( &self, output: Output, property: Atom, ) -> Result<Cookie<'_, Self, QueryOutputPropertyReply>, ConnectionError> { ... } fn randr_configure_output_property<'c, 'input>( &'c self, output: Output, property: Atom, pending: bool, range: bool, values: &'input [i32], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn randr_change_output_property<'c, 'input>( &'c self, output: Output, property: Atom, type_: Atom, format: u8, mode: PropMode, num_units: u32, data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn randr_delete_output_property( &self, output: Output, property: Atom, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn randr_get_output_property<A>( &self, output: Output, property: Atom, type_: A, long_offset: u32, long_length: u32, delete: bool, pending: bool, ) -> Result<Cookie<'_, Self, GetOutputPropertyReply>, ConnectionError> where A: Into<Atom> { ... } fn randr_create_mode<'c, 'input>( &'c self, window: Window, mode_info: ModeInfo, name: &'input [u8], ) -> Result<Cookie<'c, Self, CreateModeReply>, ConnectionError> { ... } fn randr_destroy_mode( &self, mode: Mode, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn randr_add_output_mode( &self, output: Output, mode: Mode, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn randr_delete_output_mode( &self, output: Output, mode: Mode, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn randr_get_crtc_info( &self, crtc: Crtc, config_timestamp: Timestamp, ) -> Result<Cookie<'_, Self, GetCrtcInfoReply>, ConnectionError> { ... } fn randr_set_crtc_config<'c, 'input>( &'c self, crtc: Crtc, timestamp: Timestamp, config_timestamp: Timestamp, x: i16, y: i16, mode: Mode, rotation: Rotation, outputs: &'input [Output], ) -> Result<Cookie<'c, Self, SetCrtcConfigReply>, ConnectionError> { ... } fn randr_get_crtc_gamma_size( &self, crtc: Crtc, ) -> Result<Cookie<'_, Self, GetCrtcGammaSizeReply>, ConnectionError> { ... } fn randr_get_crtc_gamma( &self, crtc: Crtc, ) -> Result<Cookie<'_, Self, GetCrtcGammaReply>, ConnectionError> { ... } fn randr_set_crtc_gamma<'c, 'input>( &'c self, crtc: Crtc, red: &'input [u16], green: &'input [u16], blue: &'input [u16], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn randr_get_screen_resources_current( &self, window: Window, ) -> Result<Cookie<'_, Self, GetScreenResourcesCurrentReply>, ConnectionError> { ... } fn randr_set_crtc_transform<'c, 'input>( &'c self, crtc: Crtc, transform: Transform, filter_name: &'input [u8], filter_params: &'input [Fixed], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn randr_get_crtc_transform( &self, crtc: Crtc, ) -> Result<Cookie<'_, Self, GetCrtcTransformReply>, ConnectionError> { ... } fn randr_get_panning( &self, crtc: Crtc, ) -> Result<Cookie<'_, Self, GetPanningReply>, ConnectionError> { ... } fn randr_set_panning( &self, crtc: Crtc, timestamp: Timestamp, left: u16, top: u16, width: u16, height: u16, track_left: u16, track_top: u16, track_width: u16, track_height: u16, border_left: i16, border_top: i16, border_right: i16, border_bottom: i16, ) -> Result<Cookie<'_, Self, SetPanningReply>, ConnectionError> { ... } fn randr_set_output_primary( &self, window: Window, output: Output, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn randr_get_output_primary( &self, window: Window, ) -> Result<Cookie<'_, Self, GetOutputPrimaryReply>, ConnectionError> { ... } fn randr_get_providers( &self, window: Window, ) -> Result<Cookie<'_, Self, GetProvidersReply>, ConnectionError> { ... } fn randr_get_provider_info( &self, provider: Provider, config_timestamp: Timestamp, ) -> Result<Cookie<'_, Self, GetProviderInfoReply>, ConnectionError> { ... } fn randr_set_provider_offload_sink( &self, provider: Provider, sink_provider: Provider, config_timestamp: Timestamp, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn randr_set_provider_output_source( &self, provider: Provider, source_provider: Provider, config_timestamp: Timestamp, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn randr_list_provider_properties( &self, provider: Provider, ) -> Result<Cookie<'_, Self, ListProviderPropertiesReply>, ConnectionError> { ... } fn randr_query_provider_property( &self, provider: Provider, property: Atom, ) -> Result<Cookie<'_, Self, QueryProviderPropertyReply>, ConnectionError> { ... } fn randr_configure_provider_property<'c, 'input>( &'c self, provider: Provider, property: Atom, pending: bool, range: bool, values: &'input [i32], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn randr_change_provider_property<'c, 'input>( &'c self, provider: Provider, property: Atom, type_: Atom, format: u8, mode: u8, num_items: u32, data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn randr_delete_provider_property( &self, provider: Provider, property: Atom, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn randr_get_provider_property( &self, provider: Provider, property: Atom, type_: Atom, long_offset: u32, long_length: u32, delete: bool, pending: bool, ) -> Result<Cookie<'_, Self, GetProviderPropertyReply>, ConnectionError> { ... } fn randr_get_monitors( &self, window: Window, get_active: bool, ) -> Result<Cookie<'_, Self, GetMonitorsReply>, ConnectionError> { ... } fn randr_set_monitor( &self, window: Window, monitorinfo: MonitorInfo, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn randr_delete_monitor( &self, window: Window, name: Atom, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn randr_create_lease<'c, 'input>( &'c self, window: Window, lid: Lease, crtcs: &'input [Crtc], outputs: &'input [Output], ) -> Result<CookieWithFds<'c, Self, CreateLeaseReply>, ConnectionError> { ... } fn randr_free_lease( &self, lid: Lease, terminate: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

source

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

source

fn randr_set_screen_config( &self, window: Window, timestamp: Timestamp, config_timestamp: Timestamp, size_id: u16, rotation: Rotation, rate: u16, ) -> Result<Cookie<'_, Self, SetScreenConfigReply>, ConnectionError>

source

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

source

fn randr_get_screen_info( &self, window: Window, ) -> Result<Cookie<'_, Self, GetScreenInfoReply>, ConnectionError>

source

fn randr_get_screen_size_range( &self, window: Window, ) -> Result<Cookie<'_, Self, GetScreenSizeRangeReply>, ConnectionError>

source

fn randr_set_screen_size( &self, window: Window, width: u16, height: u16, mm_width: u32, mm_height: u32, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn randr_get_screen_resources( &self, window: Window, ) -> Result<Cookie<'_, Self, GetScreenResourcesReply>, ConnectionError>

source

fn randr_get_output_info( &self, output: Output, config_timestamp: Timestamp, ) -> Result<Cookie<'_, Self, GetOutputInfoReply>, ConnectionError>

source

fn randr_list_output_properties( &self, output: Output, ) -> Result<Cookie<'_, Self, ListOutputPropertiesReply>, ConnectionError>

source

fn randr_query_output_property( &self, output: Output, property: Atom, ) -> Result<Cookie<'_, Self, QueryOutputPropertyReply>, ConnectionError>

source

fn randr_configure_output_property<'c, 'input>( &'c self, output: Output, property: Atom, pending: bool, range: bool, values: &'input [i32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn randr_change_output_property<'c, 'input>( &'c self, output: Output, property: Atom, type_: Atom, format: u8, mode: PropMode, num_units: u32, data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn randr_delete_output_property( &self, output: Output, property: Atom, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn randr_get_output_property<A>( &self, output: Output, property: Atom, type_: A, long_offset: u32, long_length: u32, delete: bool, pending: bool, ) -> Result<Cookie<'_, Self, GetOutputPropertyReply>, ConnectionError>
where A: Into<Atom>,

source

fn randr_create_mode<'c, 'input>( &'c self, window: Window, mode_info: ModeInfo, name: &'input [u8], ) -> Result<Cookie<'c, Self, CreateModeReply>, ConnectionError>

source

fn randr_destroy_mode( &self, mode: Mode, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn randr_add_output_mode( &self, output: Output, mode: Mode, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn randr_delete_output_mode( &self, output: Output, mode: Mode, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn randr_get_crtc_info( &self, crtc: Crtc, config_timestamp: Timestamp, ) -> Result<Cookie<'_, Self, GetCrtcInfoReply>, ConnectionError>

source

fn randr_set_crtc_config<'c, 'input>( &'c self, crtc: Crtc, timestamp: Timestamp, config_timestamp: Timestamp, x: i16, y: i16, mode: Mode, rotation: Rotation, outputs: &'input [Output], ) -> Result<Cookie<'c, Self, SetCrtcConfigReply>, ConnectionError>

source

fn randr_get_crtc_gamma_size( &self, crtc: Crtc, ) -> Result<Cookie<'_, Self, GetCrtcGammaSizeReply>, ConnectionError>

source

fn randr_get_crtc_gamma( &self, crtc: Crtc, ) -> Result<Cookie<'_, Self, GetCrtcGammaReply>, ConnectionError>

source

fn randr_set_crtc_gamma<'c, 'input>( &'c self, crtc: Crtc, red: &'input [u16], green: &'input [u16], blue: &'input [u16], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn randr_get_screen_resources_current( &self, window: Window, ) -> Result<Cookie<'_, Self, GetScreenResourcesCurrentReply>, ConnectionError>

source

fn randr_set_crtc_transform<'c, 'input>( &'c self, crtc: Crtc, transform: Transform, filter_name: &'input [u8], filter_params: &'input [Fixed], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn randr_get_crtc_transform( &self, crtc: Crtc, ) -> Result<Cookie<'_, Self, GetCrtcTransformReply>, ConnectionError>

source

fn randr_get_panning( &self, crtc: Crtc, ) -> Result<Cookie<'_, Self, GetPanningReply>, ConnectionError>

source

fn randr_set_panning( &self, crtc: Crtc, timestamp: Timestamp, left: u16, top: u16, width: u16, height: u16, track_left: u16, track_top: u16, track_width: u16, track_height: u16, border_left: i16, border_top: i16, border_right: i16, border_bottom: i16, ) -> Result<Cookie<'_, Self, SetPanningReply>, ConnectionError>

source

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

source

fn randr_get_output_primary( &self, window: Window, ) -> Result<Cookie<'_, Self, GetOutputPrimaryReply>, ConnectionError>

source

fn randr_get_providers( &self, window: Window, ) -> Result<Cookie<'_, Self, GetProvidersReply>, ConnectionError>

source

fn randr_get_provider_info( &self, provider: Provider, config_timestamp: Timestamp, ) -> Result<Cookie<'_, Self, GetProviderInfoReply>, ConnectionError>

source

fn randr_set_provider_offload_sink( &self, provider: Provider, sink_provider: Provider, config_timestamp: Timestamp, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn randr_set_provider_output_source( &self, provider: Provider, source_provider: Provider, config_timestamp: Timestamp, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn randr_list_provider_properties( &self, provider: Provider, ) -> Result<Cookie<'_, Self, ListProviderPropertiesReply>, ConnectionError>

source

fn randr_query_provider_property( &self, provider: Provider, property: Atom, ) -> Result<Cookie<'_, Self, QueryProviderPropertyReply>, ConnectionError>

source

fn randr_configure_provider_property<'c, 'input>( &'c self, provider: Provider, property: Atom, pending: bool, range: bool, values: &'input [i32], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn randr_change_provider_property<'c, 'input>( &'c self, provider: Provider, property: Atom, type_: Atom, format: u8, mode: u8, num_items: u32, data: &'input [u8], ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn randr_delete_provider_property( &self, provider: Provider, property: Atom, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn randr_get_provider_property( &self, provider: Provider, property: Atom, type_: Atom, long_offset: u32, long_length: u32, delete: bool, pending: bool, ) -> Result<Cookie<'_, Self, GetProviderPropertyReply>, ConnectionError>

source

fn randr_get_monitors( &self, window: Window, get_active: bool, ) -> Result<Cookie<'_, Self, GetMonitorsReply>, ConnectionError>

source

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

source

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

source

fn randr_create_lease<'c, 'input>( &'c self, window: Window, lid: Lease, crtcs: &'input [Crtc], outputs: &'input [Output], ) -> Result<CookieWithFds<'c, Self, CreateLeaseReply>, ConnectionError>

source

fn randr_free_lease( &self, lid: Lease, terminate: u8, ) -> Result<VoidCookie<'_, Self>, ConnectionError>

Object Safety§

This trait is not object safe.

Implementors§