[][src]Struct xcb::base::Reply

pub struct Reply<T> {
    pub ptr: *mut T,
}

Wraps a pointer to a xcb_*_reply_t the pointer is freed when the Reply goes out of scope

Fields

ptr: *mut T

Implementations

impl Reply<xcb_get_window_attributes_reply_t>[src]

pub fn backing_store(&self) -> u8[src]

pub fn visual(&self) -> Visualid[src]

pub fn class(&self) -> u16[src]

pub fn bit_gravity(&self) -> u8[src]

pub fn win_gravity(&self) -> u8[src]

pub fn backing_planes(&self) -> u32[src]

pub fn backing_pixel(&self) -> u32[src]

pub fn save_under(&self) -> bool[src]

pub fn map_is_installed(&self) -> bool[src]

pub fn map_state(&self) -> u8[src]

pub fn override_redirect(&self) -> bool[src]

pub fn colormap(&self) -> Colormap[src]

pub fn all_event_masks(&self) -> u32[src]

pub fn your_event_mask(&self) -> u32[src]

pub fn do_not_propagate_mask(&self) -> u16[src]

impl Reply<xcb_get_geometry_reply_t>[src]

pub fn depth(&self) -> u8[src]

pub fn root(&self) -> Window[src]

pub fn x(&self) -> i16[src]

pub fn y(&self) -> i16[src]

pub fn width(&self) -> u16[src]

pub fn height(&self) -> u16[src]

pub fn border_width(&self) -> u16[src]

impl Reply<xcb_query_tree_reply_t>[src]

pub fn root(&self) -> Window[src]

pub fn parent(&self) -> Window[src]

pub fn children_len(&self) -> u16[src]

pub fn children(&self) -> &[Window][src]

impl Reply<xcb_intern_atom_reply_t>[src]

pub fn atom(&self) -> Atom[src]

impl Reply<xcb_get_atom_name_reply_t>[src]

pub fn name_len(&self) -> u16[src]

pub fn name(&self) -> &str[src]

impl Reply<xcb_get_property_reply_t>[src]

pub fn format(&self) -> u8[src]

pub fn type_(&self) -> Atom[src]

pub fn bytes_after(&self) -> u32[src]

pub fn value_len(&self) -> u32[src]

pub fn value<T>(&self) -> &[T][src]

impl Reply<xcb_list_properties_reply_t>[src]

pub fn atoms_len(&self) -> u16[src]

pub fn atoms(&self) -> &[Atom][src]

impl Reply<xcb_get_selection_owner_reply_t>[src]

pub fn owner(&self) -> Window[src]

impl Reply<xcb_grab_pointer_reply_t>[src]

pub fn status(&self) -> u8[src]

impl Reply<xcb_grab_keyboard_reply_t>[src]

pub fn status(&self) -> u8[src]

impl Reply<xcb_query_pointer_reply_t>[src]

pub fn same_screen(&self) -> bool[src]

pub fn root(&self) -> Window[src]

pub fn child(&self) -> Window[src]

pub fn root_x(&self) -> i16[src]

pub fn root_y(&self) -> i16[src]

pub fn win_x(&self) -> i16[src]

pub fn win_y(&self) -> i16[src]

pub fn mask(&self) -> u16[src]

impl Reply<xcb_get_motion_events_reply_t>[src]

pub fn events_len(&self) -> u32[src]

pub fn events(&self) -> TimecoordIterator

Notable traits for TimecoordIterator

impl Iterator for TimecoordIterator type Item = Timecoord;
[src]

impl Reply<xcb_translate_coordinates_reply_t>[src]

pub fn same_screen(&self) -> bool[src]

pub fn child(&self) -> Window[src]

pub fn dst_x(&self) -> i16[src]

pub fn dst_y(&self) -> i16[src]

impl Reply<xcb_get_input_focus_reply_t>[src]

pub fn revert_to(&self) -> u8[src]

pub fn focus(&self) -> Window[src]

impl Reply<xcb_query_keymap_reply_t>[src]

pub fn keys(&self) -> &[u8][src]

impl Reply<xcb_query_font_reply_t>[src]

pub fn min_bounds(&self) -> Charinfo[src]

pub fn max_bounds(&self) -> Charinfo[src]

pub fn min_char_or_byte2(&self) -> u16[src]

pub fn max_char_or_byte2(&self) -> u16[src]

pub fn default_char(&self) -> u16[src]

pub fn properties_len(&self) -> u16[src]

pub fn draw_direction(&self) -> u8[src]

pub fn min_byte1(&self) -> u8[src]

pub fn max_byte1(&self) -> u8[src]

pub fn all_chars_exist(&self) -> bool[src]

pub fn font_ascent(&self) -> i16[src]

pub fn font_descent(&self) -> i16[src]

pub fn char_infos_len(&self) -> u32[src]

pub fn properties(&self) -> FontpropIterator

Notable traits for FontpropIterator

impl Iterator for FontpropIterator type Item = Fontprop;
[src]

pub fn char_infos(&self) -> CharinfoIterator

Notable traits for CharinfoIterator

impl Iterator for CharinfoIterator type Item = Charinfo;
[src]

impl Reply<xcb_query_text_extents_reply_t>[src]

pub fn draw_direction(&self) -> u8[src]

pub fn font_ascent(&self) -> i16[src]

pub fn font_descent(&self) -> i16[src]

pub fn overall_ascent(&self) -> i16[src]

pub fn overall_descent(&self) -> i16[src]

pub fn overall_width(&self) -> i32[src]

pub fn overall_left(&self) -> i32[src]

pub fn overall_right(&self) -> i32[src]

impl Reply<xcb_list_fonts_reply_t>[src]

pub fn names_len(&self) -> u16[src]

pub fn names(&self) -> StrIterator<'_>

Notable traits for StrIterator<'a>

impl<'a> Iterator for StrIterator<'a> type Item = Str<'a>;
[src]

impl Reply<xcb_list_fonts_with_info_reply_t>[src]

pub fn name_len(&self) -> u8[src]

pub fn min_bounds(&self) -> Charinfo[src]

pub fn max_bounds(&self) -> Charinfo[src]

pub fn min_char_or_byte2(&self) -> u16[src]

pub fn max_char_or_byte2(&self) -> u16[src]

pub fn default_char(&self) -> u16[src]

pub fn properties_len(&self) -> u16[src]

pub fn draw_direction(&self) -> u8[src]

pub fn min_byte1(&self) -> u8[src]

pub fn max_byte1(&self) -> u8[src]

pub fn all_chars_exist(&self) -> bool[src]

pub fn font_ascent(&self) -> i16[src]

pub fn font_descent(&self) -> i16[src]

pub fn replies_hint(&self) -> u32[src]

pub fn properties(&self) -> FontpropIterator

Notable traits for FontpropIterator

impl Iterator for FontpropIterator type Item = Fontprop;
[src]

pub fn name(&self) -> &str[src]

impl Reply<xcb_get_font_path_reply_t>[src]

pub fn path_len(&self) -> u16[src]

pub fn path(&self) -> StrIterator<'_>

Notable traits for StrIterator<'a>

impl<'a> Iterator for StrIterator<'a> type Item = Str<'a>;
[src]

impl Reply<xcb_get_image_reply_t>[src]

pub fn depth(&self) -> u8[src]

pub fn visual(&self) -> Visualid[src]

pub fn data(&self) -> &[u8][src]

impl Reply<xcb_list_installed_colormaps_reply_t>[src]

pub fn cmaps_len(&self) -> u16[src]

pub fn cmaps(&self) -> &[Colormap][src]

impl Reply<xcb_alloc_color_reply_t>[src]

pub fn red(&self) -> u16[src]

pub fn green(&self) -> u16[src]

pub fn blue(&self) -> u16[src]

pub fn pixel(&self) -> u32[src]

impl Reply<xcb_alloc_named_color_reply_t>[src]

pub fn pixel(&self) -> u32[src]

pub fn exact_red(&self) -> u16[src]

pub fn exact_green(&self) -> u16[src]

pub fn exact_blue(&self) -> u16[src]

pub fn visual_red(&self) -> u16[src]

pub fn visual_green(&self) -> u16[src]

pub fn visual_blue(&self) -> u16[src]

impl Reply<xcb_alloc_color_cells_reply_t>[src]

pub fn pixels_len(&self) -> u16[src]

pub fn masks_len(&self) -> u16[src]

pub fn pixels(&self) -> &[u32][src]

pub fn masks(&self) -> &[u32][src]

impl Reply<xcb_alloc_color_planes_reply_t>[src]

pub fn pixels_len(&self) -> u16[src]

pub fn red_mask(&self) -> u32[src]

pub fn green_mask(&self) -> u32[src]

pub fn blue_mask(&self) -> u32[src]

pub fn pixels(&self) -> &[u32][src]

impl Reply<xcb_query_colors_reply_t>[src]

pub fn colors_len(&self) -> u16[src]

pub fn colors(&self) -> RgbIterator

Notable traits for RgbIterator

impl Iterator for RgbIterator type Item = Rgb;
[src]

impl Reply<xcb_lookup_color_reply_t>[src]

pub fn exact_red(&self) -> u16[src]

pub fn exact_green(&self) -> u16[src]

pub fn exact_blue(&self) -> u16[src]

pub fn visual_red(&self) -> u16[src]

pub fn visual_green(&self) -> u16[src]

pub fn visual_blue(&self) -> u16[src]

impl Reply<xcb_query_best_size_reply_t>[src]

pub fn width(&self) -> u16[src]

pub fn height(&self) -> u16[src]

impl Reply<xcb_query_extension_reply_t>[src]

pub fn present(&self) -> bool[src]

pub fn major_opcode(&self) -> u8[src]

pub fn first_event(&self) -> u8[src]

pub fn first_error(&self) -> u8[src]

impl Reply<xcb_list_extensions_reply_t>[src]

pub fn names_len(&self) -> u8[src]

pub fn names(&self) -> StrIterator<'_>

Notable traits for StrIterator<'a>

impl<'a> Iterator for StrIterator<'a> type Item = Str<'a>;
[src]

impl Reply<xcb_get_keyboard_mapping_reply_t>[src]

pub fn keysyms_per_keycode(&self) -> u8[src]

pub fn keysyms(&self) -> &[Keysym][src]

impl Reply<xcb_get_keyboard_control_reply_t>[src]

pub fn global_auto_repeat(&self) -> u8[src]

pub fn led_mask(&self) -> u32[src]

pub fn key_click_percent(&self) -> u8[src]

pub fn bell_percent(&self) -> u8[src]

pub fn bell_pitch(&self) -> u16[src]

pub fn bell_duration(&self) -> u16[src]

pub fn auto_repeats(&self) -> &[u8][src]

impl Reply<xcb_get_pointer_control_reply_t>[src]

pub fn acceleration_numerator(&self) -> u16[src]

pub fn acceleration_denominator(&self) -> u16[src]

pub fn threshold(&self) -> u16[src]

impl Reply<xcb_get_screen_saver_reply_t>[src]

pub fn timeout(&self) -> u16[src]

pub fn interval(&self) -> u16[src]

pub fn prefer_blanking(&self) -> u8[src]

pub fn allow_exposures(&self) -> u8[src]

impl Reply<xcb_list_hosts_reply_t>[src]

pub fn mode(&self) -> u8[src]

pub fn hosts_len(&self) -> u16[src]

pub fn hosts(&self) -> HostIterator<'_>

Notable traits for HostIterator<'a>

impl<'a> Iterator for HostIterator<'a> type Item = Host<'a>;
[src]

impl Reply<xcb_set_pointer_mapping_reply_t>[src]

pub fn status(&self) -> u8[src]

impl Reply<xcb_get_pointer_mapping_reply_t>[src]

pub fn map_len(&self) -> u8[src]

pub fn map(&self) -> &[u8][src]

impl Reply<xcb_set_modifier_mapping_reply_t>[src]

pub fn status(&self) -> u8[src]

impl Reply<xcb_get_modifier_mapping_reply_t>[src]

pub fn keycodes_per_modifier(&self) -> u8[src]

pub fn keycodes(&self) -> &[Keycode][src]

impl Reply<xcb_big_requests_enable_reply_t>[src]

pub fn maximum_request_length(&self) -> u32[src]

impl Reply<xcb_xc_misc_get_version_reply_t>[src]

pub fn server_major_version(&self) -> u16[src]

pub fn server_minor_version(&self) -> u16[src]

impl Reply<xcb_xc_misc_get_xid_range_reply_t>[src]

pub fn start_id(&self) -> u32[src]

pub fn count(&self) -> u32[src]

impl Reply<xcb_xc_misc_get_xid_list_reply_t>[src]

pub fn ids_len(&self) -> u32[src]

pub fn ids(&self) -> &[u32][src]

impl Reply<xcb_render_query_version_reply_t>[src]

pub fn major_version(&self) -> u32[src]

pub fn minor_version(&self) -> u32[src]

impl Reply<xcb_render_query_pict_formats_reply_t>[src]

pub fn num_formats(&self) -> u32[src]

pub fn num_screens(&self) -> u32[src]

pub fn num_depths(&self) -> u32[src]

pub fn num_visuals(&self) -> u32[src]

pub fn num_subpixel(&self) -> u32[src]

pub fn formats(&self) -> PictforminfoIterator[src]

pub fn screens(&self) -> PictscreenIterator<'_>

Notable traits for PictscreenIterator<'a>

impl<'a> Iterator for PictscreenIterator<'a> type Item = Pictscreen<'a>;
[src]

pub fn subpixels(&self) -> &[u32][src]

impl Reply<xcb_render_query_pict_index_values_reply_t>[src]

pub fn num_values(&self) -> u32[src]

pub fn values(&self) -> IndexvalueIterator

Notable traits for IndexvalueIterator

impl Iterator for IndexvalueIterator type Item = Indexvalue;
[src]

impl Reply<xcb_render_query_filters_reply_t>[src]

pub fn num_aliases(&self) -> u32[src]

pub fn num_filters(&self) -> u32[src]

pub fn aliases(&self) -> &[u16][src]

pub fn filters(&self) -> StrIterator<'_>

Notable traits for StrIterator<'a>

impl<'a> Iterator for StrIterator<'a> type Item = Str<'a>;
[src]

impl Reply<xcb_shape_query_version_reply_t>[src]

pub fn major_version(&self) -> u16[src]

pub fn minor_version(&self) -> u16[src]

impl Reply<xcb_shape_query_extents_reply_t>[src]

pub fn bounding_shaped(&self) -> bool[src]

pub fn clip_shaped(&self) -> bool[src]

pub fn bounding_shape_extents_x(&self) -> i16[src]

pub fn bounding_shape_extents_y(&self) -> i16[src]

pub fn bounding_shape_extents_width(&self) -> u16[src]

pub fn bounding_shape_extents_height(&self) -> u16[src]

pub fn clip_shape_extents_x(&self) -> i16[src]

pub fn clip_shape_extents_y(&self) -> i16[src]

pub fn clip_shape_extents_width(&self) -> u16[src]

pub fn clip_shape_extents_height(&self) -> u16[src]

impl Reply<xcb_shape_input_selected_reply_t>[src]

pub fn enabled(&self) -> bool[src]

impl Reply<xcb_shape_get_rectangles_reply_t>[src]

pub fn ordering(&self) -> u8[src]

pub fn rectangles_len(&self) -> u32[src]

pub fn rectangles(&self) -> RectangleIterator

Notable traits for RectangleIterator

impl Iterator for RectangleIterator type Item = Rectangle;
[src]

impl Reply<xcb_xfixes_query_version_reply_t>[src]

pub fn major_version(&self) -> u32[src]

pub fn minor_version(&self) -> u32[src]

impl Reply<xcb_xfixes_get_cursor_image_reply_t>[src]

pub fn x(&self) -> i16[src]

pub fn y(&self) -> i16[src]

pub fn width(&self) -> u16[src]

pub fn height(&self) -> u16[src]

pub fn xhot(&self) -> u16[src]

pub fn yhot(&self) -> u16[src]

pub fn cursor_serial(&self) -> u32[src]

pub fn cursor_image(&self) -> &[u32][src]

impl Reply<xcb_xfixes_fetch_region_reply_t>[src]

pub fn extents(&self) -> Rectangle[src]

pub fn rectangles(&self) -> RectangleIterator

Notable traits for RectangleIterator

impl Iterator for RectangleIterator type Item = Rectangle;
[src]

impl Reply<xcb_xfixes_get_cursor_name_reply_t>[src]

pub fn atom(&self) -> Atom[src]

pub fn nbytes(&self) -> u16[src]

pub fn name(&self) -> &str[src]

impl Reply<xcb_xfixes_get_cursor_image_and_name_reply_t>[src]

pub fn x(&self) -> i16[src]

pub fn y(&self) -> i16[src]

pub fn width(&self) -> u16[src]

pub fn height(&self) -> u16[src]

pub fn xhot(&self) -> u16[src]

pub fn yhot(&self) -> u16[src]

pub fn cursor_serial(&self) -> u32[src]

pub fn cursor_atom(&self) -> Atom[src]

pub fn nbytes(&self) -> u16[src]

pub fn name(&self) -> &str[src]

pub fn cursor_image(&self) -> &[u32][src]

Trait Implementations

impl<T> Drop for Reply<T>[src]

impl<T> Send for Reply<T>[src]

impl<T> Sync for Reply<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Reply<T> where
    T: RefUnwindSafe

impl<T> Unpin for Reply<T>

impl<T> UnwindSafe for Reply<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.