Trait x11rb::protocol::xv::ConnectionExt
source · pub trait ConnectionExt: RequestConnection {
Show 20 methods
// Provided methods
fn xv_query_extension(
&self
) -> Result<Cookie<'_, Self, QueryExtensionReply>, ConnectionError> { ... }
fn xv_query_adaptors(
&self,
window: Window
) -> Result<Cookie<'_, Self, QueryAdaptorsReply>, ConnectionError> { ... }
fn xv_query_encodings(
&self,
port: Port
) -> Result<Cookie<'_, Self, QueryEncodingsReply>, ConnectionError> { ... }
fn xv_grab_port<A>(
&self,
port: Port,
time: A
) -> Result<Cookie<'_, Self, GrabPortReply>, ConnectionError>
where A: Into<Timestamp> { ... }
fn xv_ungrab_port<A>(
&self,
port: Port,
time: A
) -> Result<VoidCookie<'_, Self>, ConnectionError>
where A: Into<Timestamp> { ... }
fn xv_put_video(
&self,
port: Port,
drawable: Drawable,
gc: Gcontext,
vid_x: i16,
vid_y: i16,
vid_w: u16,
vid_h: u16,
drw_x: i16,
drw_y: i16,
drw_w: u16,
drw_h: u16
) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
fn xv_put_still(
&self,
port: Port,
drawable: Drawable,
gc: Gcontext,
vid_x: i16,
vid_y: i16,
vid_w: u16,
vid_h: u16,
drw_x: i16,
drw_y: i16,
drw_w: u16,
drw_h: u16
) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
fn xv_get_video(
&self,
port: Port,
drawable: Drawable,
gc: Gcontext,
vid_x: i16,
vid_y: i16,
vid_w: u16,
vid_h: u16,
drw_x: i16,
drw_y: i16,
drw_w: u16,
drw_h: u16
) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
fn xv_get_still(
&self,
port: Port,
drawable: Drawable,
gc: Gcontext,
vid_x: i16,
vid_y: i16,
vid_w: u16,
vid_h: u16,
drw_x: i16,
drw_y: i16,
drw_w: u16,
drw_h: u16
) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
fn xv_stop_video(
&self,
port: Port,
drawable: Drawable
) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
fn xv_select_video_notify(
&self,
drawable: Drawable,
onoff: bool
) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
fn xv_select_port_notify(
&self,
port: Port,
onoff: bool
) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
fn xv_query_best_size(
&self,
port: Port,
vid_w: u16,
vid_h: u16,
drw_w: u16,
drw_h: u16,
motion: bool
) -> Result<Cookie<'_, Self, QueryBestSizeReply>, ConnectionError> { ... }
fn xv_set_port_attribute(
&self,
port: Port,
attribute: Atom,
value: i32
) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
fn xv_get_port_attribute(
&self,
port: Port,
attribute: Atom
) -> Result<Cookie<'_, Self, GetPortAttributeReply>, ConnectionError> { ... }
fn xv_query_port_attributes(
&self,
port: Port
) -> Result<Cookie<'_, Self, QueryPortAttributesReply>, ConnectionError> { ... }
fn xv_list_image_formats(
&self,
port: Port
) -> Result<Cookie<'_, Self, ListImageFormatsReply>, ConnectionError> { ... }
fn xv_query_image_attributes(
&self,
port: Port,
id: u32,
width: u16,
height: u16
) -> Result<Cookie<'_, Self, QueryImageAttributesReply>, ConnectionError> { ... }
fn xv_put_image<'c, 'input>(
&'c self,
port: Port,
drawable: Drawable,
gc: Gcontext,
id: u32,
src_x: i16,
src_y: i16,
src_w: u16,
src_h: u16,
drw_x: i16,
drw_y: i16,
drw_w: u16,
drw_h: u16,
width: u16,
height: u16,
data: &'input [u8]
) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... }
fn xv_shm_put_image(
&self,
port: Port,
drawable: Drawable,
gc: Gcontext,
shmseg: Seg,
id: u32,
offset: u32,
src_x: i16,
src_y: i16,
src_w: u16,
src_h: u16,
drw_x: i16,
drw_y: i16,
drw_w: u16,
drw_h: u16,
width: u16,
height: u16,
send_event: u8
) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
}
Expand description
Extension trait defining the requests of this extension.
Provided Methods§
fn xv_query_extension( &self ) -> Result<Cookie<'_, Self, QueryExtensionReply>, ConnectionError>
fn xv_query_adaptors( &self, window: Window ) -> Result<Cookie<'_, Self, QueryAdaptorsReply>, ConnectionError>
fn xv_query_encodings( &self, port: Port ) -> Result<Cookie<'_, Self, QueryEncodingsReply>, ConnectionError>
fn xv_grab_port<A>( &self, port: Port, time: A ) -> Result<Cookie<'_, Self, GrabPortReply>, ConnectionError>
fn xv_ungrab_port<A>( &self, port: Port, time: A ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xv_put_video( &self, port: Port, drawable: Drawable, gc: Gcontext, vid_x: i16, vid_y: i16, vid_w: u16, vid_h: u16, drw_x: i16, drw_y: i16, drw_w: u16, drw_h: u16 ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xv_put_still( &self, port: Port, drawable: Drawable, gc: Gcontext, vid_x: i16, vid_y: i16, vid_w: u16, vid_h: u16, drw_x: i16, drw_y: i16, drw_w: u16, drw_h: u16 ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xv_get_video( &self, port: Port, drawable: Drawable, gc: Gcontext, vid_x: i16, vid_y: i16, vid_w: u16, vid_h: u16, drw_x: i16, drw_y: i16, drw_w: u16, drw_h: u16 ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xv_get_still( &self, port: Port, drawable: Drawable, gc: Gcontext, vid_x: i16, vid_y: i16, vid_w: u16, vid_h: u16, drw_x: i16, drw_y: i16, drw_w: u16, drw_h: u16 ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xv_stop_video( &self, port: Port, drawable: Drawable ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xv_select_video_notify( &self, drawable: Drawable, onoff: bool ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xv_select_port_notify( &self, port: Port, onoff: bool ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xv_query_best_size( &self, port: Port, vid_w: u16, vid_h: u16, drw_w: u16, drw_h: u16, motion: bool ) -> Result<Cookie<'_, Self, QueryBestSizeReply>, ConnectionError>
fn xv_set_port_attribute( &self, port: Port, attribute: Atom, value: i32 ) -> Result<VoidCookie<'_, Self>, ConnectionError>
fn xv_get_port_attribute( &self, port: Port, attribute: Atom ) -> Result<Cookie<'_, Self, GetPortAttributeReply>, ConnectionError>
fn xv_query_port_attributes( &self, port: Port ) -> Result<Cookie<'_, Self, QueryPortAttributesReply>, ConnectionError>
fn xv_list_image_formats( &self, port: Port ) -> Result<Cookie<'_, Self, ListImageFormatsReply>, ConnectionError>
fn xv_query_image_attributes( &self, port: Port, id: u32, width: u16, height: u16 ) -> Result<Cookie<'_, Self, QueryImageAttributesReply>, ConnectionError>
fn xv_put_image<'c, 'input>( &'c self, port: Port, drawable: Drawable, gc: Gcontext, id: u32, src_x: i16, src_y: i16, src_w: u16, src_h: u16, drw_x: i16, drw_y: i16, drw_w: u16, drw_h: u16, width: u16, height: u16, data: &'input [u8] ) -> Result<VoidCookie<'c, Self>, ConnectionError>
fn xv_shm_put_image( &self, port: Port, drawable: Drawable, gc: Gcontext, shmseg: Seg, id: u32, offset: u32, src_x: i16, src_y: i16, src_w: u16, src_h: u16, drw_x: i16, drw_y: i16, drw_w: u16, drw_h: u16, width: u16, height: u16, send_event: u8 ) -> Result<VoidCookie<'_, Self>, ConnectionError>
Object Safety§
This trait is not object safe.