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

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_xkb_use_extension_reply_t>[src]

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

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

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

impl Reply<xcb_xkb_get_state_reply_t>[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Reply<xcb_xkb_get_controls_reply_t>[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Reply<xcb_xkb_get_map_reply_t>[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Reply<xcb_xkb_get_compat_map_reply_t>[src]

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

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

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

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

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

pub fn si_rtrn(&self) -> SymInterpretIterator<'_>

Notable traits for SymInterpretIterator<'a>

impl<'a> Iterator for SymInterpretIterator<'a> type Item = SymInterpret<'a>;
[src]

pub fn group_rtrn(&self) -> ModDefIterator

Notable traits for ModDefIterator

impl Iterator for ModDefIterator type Item = ModDef;
[src]

impl Reply<xcb_xkb_get_indicator_state_reply_t>[src]

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

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

impl Reply<xcb_xkb_get_indicator_map_reply_t>[src]

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

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

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

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

pub fn maps(&self) -> IndicatorMapIterator[src]

impl Reply<xcb_xkb_get_named_indicator_reply_t>[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Reply<xcb_xkb_get_names_reply_t>[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

impl Reply<xcb_xkb_per_client_flags_reply_t>[src]

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

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

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

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

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

impl Reply<xcb_xkb_list_components_reply_t>[src]

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

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

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

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

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

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

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

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

pub fn keymaps(&self) -> ListingIterator<'_>

Notable traits for ListingIterator<'a>

impl<'a> Iterator for ListingIterator<'a> type Item = Listing<'a>;
[src]

pub fn keycodes(&self) -> ListingIterator<'_>

Notable traits for ListingIterator<'a>

impl<'a> Iterator for ListingIterator<'a> type Item = Listing<'a>;
[src]

pub fn types(&self) -> ListingIterator<'_>

Notable traits for ListingIterator<'a>

impl<'a> Iterator for ListingIterator<'a> type Item = Listing<'a>;
[src]

pub fn compat_maps(&self) -> ListingIterator<'_>

Notable traits for ListingIterator<'a>

impl<'a> Iterator for ListingIterator<'a> type Item = Listing<'a>;
[src]

pub fn symbols(&self) -> ListingIterator<'_>

Notable traits for ListingIterator<'a>

impl<'a> Iterator for ListingIterator<'a> type Item = Listing<'a>;
[src]

pub fn geometries(&self) -> ListingIterator<'_>

Notable traits for ListingIterator<'a>

impl<'a> Iterator for ListingIterator<'a> type Item = Listing<'a>;
[src]

impl Reply<xcb_xkb_get_kbd_by_name_reply_t>[src]

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

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

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

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

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

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

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

impl Reply<xcb_xkb_get_device_info_reply_t>[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn btn_actions(&self) -> ActionIterator

Notable traits for ActionIterator

impl Iterator for ActionIterator type Item = Action;
[src]

pub fn leds(&self) -> DeviceLedInfoIterator<'_>

Notable traits for DeviceLedInfoIterator<'a>

impl<'a> Iterator for DeviceLedInfoIterator<'a> type Item = DeviceLedInfo<'a>;
[src]

impl Reply<xcb_xkb_set_debugging_flags_reply_t>[src]

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

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

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

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

Trait Implementations

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

Auto Trait Implementations

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

impl<T> !Send for Reply<T>

impl<T> !Sync for Reply<T>

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.