Struct xcb::base::StructPtr [−][src]
StructPtr
is a wrapper for pointer to struct owned by XCB
that must not be freed
it is instead bound to the lifetime of its parent that it borrows immutably
Fields
ptr: *mut T
Implementations
impl<'a> StructPtr<'a, xcb_depth_t>
[src]
pub fn depth(&self) -> u8
[src]
pub fn visuals_len(&self) -> u16
[src]
pub fn visuals(&self) -> VisualtypeIteratorⓘNotable traits for VisualtypeIterator
impl Iterator for VisualtypeIterator type Item = Visualtype;
[src]
Notable traits for VisualtypeIterator
impl Iterator for VisualtypeIterator type Item = Visualtype;
impl<'a> StructPtr<'a, xcb_screen_t>
[src]
pub fn root(&self) -> Window
[src]
pub fn default_colormap(&self) -> Colormap
[src]
pub fn white_pixel(&self) -> u32
[src]
pub fn black_pixel(&self) -> u32
[src]
pub fn current_input_masks(&self) -> u32
[src]
pub fn width_in_pixels(&self) -> u16
[src]
pub fn height_in_pixels(&self) -> u16
[src]
pub fn width_in_millimeters(&self) -> u16
[src]
pub fn height_in_millimeters(&self) -> u16
[src]
pub fn min_installed_maps(&self) -> u16
[src]
pub fn max_installed_maps(&self) -> u16
[src]
pub fn root_visual(&self) -> Visualid
[src]
pub fn backing_stores(&self) -> u8
[src]
pub fn save_unders(&self) -> bool
[src]
pub fn root_depth(&self) -> u8
[src]
pub fn allowed_depths_len(&self) -> u8
[src]
pub fn allowed_depths(&self) -> DepthIterator<'a>ⓘNotable traits for DepthIterator<'a>
impl<'a> Iterator for DepthIterator<'a> type Item = Depth<'a>;
[src]
Notable traits for DepthIterator<'a>
impl<'a> Iterator for DepthIterator<'a> type Item = Depth<'a>;
impl<'a> StructPtr<'a, xcb_setup_request_t>
[src]
pub fn byte_order(&self) -> u8
[src]
pub fn protocol_major_version(&self) -> u16
[src]
pub fn protocol_minor_version(&self) -> u16
[src]
pub fn authorization_protocol_name_len(&self) -> u16
[src]
pub fn authorization_protocol_data_len(&self) -> u16
[src]
pub fn authorization_protocol_name(&self) -> &str
[src]
pub fn authorization_protocol_data(&self) -> &str
[src]
impl<'a> StructPtr<'a, xcb_setup_failed_t>
[src]
pub fn status(&self) -> u8
[src]
pub fn reason_len(&self) -> u8
[src]
pub fn protocol_major_version(&self) -> u16
[src]
pub fn protocol_minor_version(&self) -> u16
[src]
pub fn length(&self) -> u16
[src]
pub fn reason(&self) -> &str
[src]
impl<'a> StructPtr<'a, xcb_setup_authenticate_t>
[src]
impl<'a> StructPtr<'a, xcb_setup_t>
[src]
pub fn status(&self) -> u8
[src]
pub fn protocol_major_version(&self) -> u16
[src]
pub fn protocol_minor_version(&self) -> u16
[src]
pub fn length(&self) -> u16
[src]
pub fn release_number(&self) -> u32
[src]
pub fn resource_id_base(&self) -> u32
[src]
pub fn resource_id_mask(&self) -> u32
[src]
pub fn motion_buffer_size(&self) -> u32
[src]
pub fn vendor_len(&self) -> u16
[src]
pub fn maximum_request_length(&self) -> u16
[src]
pub fn roots_len(&self) -> u8
[src]
pub fn pixmap_formats_len(&self) -> u8
[src]
pub fn image_byte_order(&self) -> u8
[src]
pub fn bitmap_format_bit_order(&self) -> u8
[src]
pub fn bitmap_format_scanline_unit(&self) -> u8
[src]
pub fn bitmap_format_scanline_pad(&self) -> u8
[src]
pub fn min_keycode(&self) -> Keycode
[src]
pub fn max_keycode(&self) -> Keycode
[src]
pub fn vendor(&self) -> &str
[src]
pub fn pixmap_formats(&self) -> FormatIteratorⓘNotable traits for FormatIterator
impl Iterator for FormatIterator type Item = Format;
[src]
Notable traits for FormatIterator
impl Iterator for FormatIterator type Item = Format;
pub fn roots(&self) -> ScreenIterator<'a>ⓘNotable traits for ScreenIterator<'a>
impl<'a> Iterator for ScreenIterator<'a> type Item = Screen<'a>;
[src]
Notable traits for ScreenIterator<'a>
impl<'a> Iterator for ScreenIterator<'a> type Item = Screen<'a>;
impl<'a> StructPtr<'a, xcb_str_t>
[src]
impl<'a> StructPtr<'a, xcb_host_t>
[src]
pub fn family(&self) -> u8
[src]
pub fn address_len(&self) -> u16
[src]
pub fn address(&self) -> &[u8]
[src]
impl<'a> StructPtr<'a, xcb_xkb_key_name_t>
[src]
impl<'a> StructPtr<'a, xcb_xkb_key_alias_t>
[src]
impl<'a> StructPtr<'a, xcb_xkb_counted_string_16_t>
[src]
pub fn length(&self) -> u16
[src]
pub fn string(&self) -> &str
[src]
pub fn alignment_pad<T>(&self) -> &[T]
[src]
impl<'a> StructPtr<'a, xcb_xkb_key_type_t>
[src]
pub fn mods_mask(&self) -> u8
[src]
pub fn mods_mods(&self) -> u8
[src]
pub fn mods_vmods(&self) -> u16
[src]
pub fn num_levels(&self) -> u8
[src]
pub fn n_map_entries(&self) -> u8
[src]
pub fn has_preserve(&self) -> bool
[src]
pub fn map(&self) -> KtMapEntryIteratorⓘNotable traits for KtMapEntryIterator
impl Iterator for KtMapEntryIterator type Item = KtMapEntry;
[src]
Notable traits for KtMapEntryIterator
impl Iterator for KtMapEntryIterator type Item = KtMapEntry;
pub fn preserve(&self) -> ModDefIteratorⓘNotable traits for ModDefIterator
impl Iterator for ModDefIterator type Item = ModDef;
[src]
Notable traits for ModDefIterator
impl Iterator for ModDefIterator type Item = ModDef;
impl<'a> StructPtr<'a, xcb_xkb_key_sym_map_t>
[src]
pub fn kt_index(&self) -> &[u8]
[src]
pub fn group_info(&self) -> u8
[src]
pub fn width(&self) -> u8
[src]
pub fn n_syms(&self) -> u16
[src]
pub fn syms(&self) -> &[Keysym]
[src]
impl<'a> StructPtr<'a, xcb_xkb_set_behavior_t>
[src]
impl<'a> StructPtr<'a, xcb_xkb_set_key_type_t>
[src]
pub fn mask(&self) -> u8
[src]
pub fn real_mods(&self) -> u8
[src]
pub fn virtual_mods(&self) -> u16
[src]
pub fn num_levels(&self) -> u8
[src]
pub fn n_map_entries(&self) -> u8
[src]
pub fn preserve(&self) -> bool
[src]
pub fn entries(&self) -> KtSetMapEntryIteratorⓘNotable traits for KtSetMapEntryIterator
impl Iterator for KtSetMapEntryIterator type Item = KtSetMapEntry;
[src]
Notable traits for KtSetMapEntryIterator
impl Iterator for KtSetMapEntryIterator type Item = KtSetMapEntry;
pub fn preserve_entries(&self) -> KtSetMapEntryIteratorⓘNotable traits for KtSetMapEntryIterator
impl Iterator for KtSetMapEntryIterator type Item = KtSetMapEntry;
[src]
Notable traits for KtSetMapEntryIterator
impl Iterator for KtSetMapEntryIterator type Item = KtSetMapEntry;
impl<'a> StructPtr<'a, xcb_xkb_outline_t>
[src]
pub fn n_points(&self) -> u8
[src]
pub fn corner_radius(&self) -> u8
[src]
pub fn points(&self) -> PointIteratorⓘNotable traits for PointIterator
impl Iterator for PointIterator type Item = Point;
[src]
Notable traits for PointIterator
impl Iterator for PointIterator type Item = Point;
impl<'a> StructPtr<'a, xcb_xkb_shape_t>
[src]
pub fn name(&self) -> Atom
[src]
pub fn n_outlines(&self) -> u8
[src]
pub fn primary_ndx(&self) -> u8
[src]
pub fn approx_ndx(&self) -> u8
[src]
pub fn outlines(&self) -> OutlineIterator<'a>ⓘNotable traits for OutlineIterator<'a>
impl<'a> Iterator for OutlineIterator<'a> type Item = Outline<'a>;
[src]
Notable traits for OutlineIterator<'a>
impl<'a> Iterator for OutlineIterator<'a> type Item = Outline<'a>;
impl<'a> StructPtr<'a, xcb_xkb_key_t>
[src]
pub fn name(&self) -> &[String8]
[src]
pub fn gap(&self) -> i16
[src]
pub fn shape_ndx(&self) -> u8
[src]
pub fn color_ndx(&self) -> u8
[src]
impl<'a> StructPtr<'a, xcb_xkb_overlay_key_t>
[src]
impl<'a> StructPtr<'a, xcb_xkb_overlay_row_t>
[src]
pub fn row_under(&self) -> u8
[src]
pub fn n_keys(&self) -> u8
[src]
pub fn keys(&self) -> OverlayKeyIterator<'a>ⓘNotable traits for OverlayKeyIterator<'a>
impl<'a> Iterator for OverlayKeyIterator<'a> type Item = OverlayKey<'a>;
[src]
Notable traits for OverlayKeyIterator<'a>
impl<'a> Iterator for OverlayKeyIterator<'a> type Item = OverlayKey<'a>;
impl<'a> StructPtr<'a, xcb_xkb_overlay_t>
[src]
pub fn name(&self) -> Atom
[src]
pub fn n_rows(&self) -> u8
[src]
pub fn rows(&self) -> OverlayRowIterator<'a>ⓘNotable traits for OverlayRowIterator<'a>
impl<'a> Iterator for OverlayRowIterator<'a> type Item = OverlayRow<'a>;
[src]
Notable traits for OverlayRowIterator<'a>
impl<'a> Iterator for OverlayRowIterator<'a> type Item = OverlayRow<'a>;
impl<'a> StructPtr<'a, xcb_xkb_row_t>
[src]
pub fn top(&self) -> i16
[src]
pub fn left(&self) -> i16
[src]
pub fn n_keys(&self) -> u8
[src]
pub fn vertical(&self) -> bool
[src]
pub fn keys(&self) -> KeyIterator<'a>ⓘNotable traits for KeyIterator<'a>
impl<'a> Iterator for KeyIterator<'a> type Item = Key<'a>;
[src]
Notable traits for KeyIterator<'a>
impl<'a> Iterator for KeyIterator<'a> type Item = Key<'a>;
impl<'a> StructPtr<'a, xcb_xkb_listing_t>
[src]
pub fn flags(&self) -> u16
[src]
pub fn length(&self) -> u16
[src]
pub fn string(&self) -> &[String8]
[src]
impl<'a> StructPtr<'a, xcb_xkb_device_led_info_t>
[src]
pub fn led_class(&self) -> LedClassSpec
[src]
pub fn led_i_d(&self) -> IdSpec
[src]
pub fn names_present(&self) -> u32
[src]
pub fn maps_present(&self) -> u32
[src]
pub fn phys_indicators(&self) -> u32
[src]
pub fn state(&self) -> u32
[src]
pub fn names(&self) -> &[u32]
[src]
pub fn maps(&self) -> IndicatorMapIteratorⓘNotable traits for IndicatorMapIterator
impl Iterator for IndicatorMapIterator type Item = IndicatorMap;
[src]
Notable traits for IndicatorMapIterator
impl Iterator for IndicatorMapIterator type Item = IndicatorMap;
impl<'a> StructPtr<'a, xcb_xkb_sa_action_message_t>
[src]
impl<'a> StructPtr<'a, xcb_xkb_si_action_t>
[src]
impl<'a> StructPtr<'a, xcb_xkb_sym_interpret_t>
[src]
pub fn sym(&self) -> Keysym
[src]
pub fn mods(&self) -> u8
[src]
pub fn match_(&self) -> u8
[src]
pub fn virtual_mod(&self) -> u8
[src]
pub fn flags(&self) -> u8
[src]
pub fn action(&self) -> SiAction<'_>
[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for StructPtr<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> !Send for StructPtr<'a, T>
impl<'a, T> !Sync for StructPtr<'a, T>
impl<'a, T> Unpin for StructPtr<'a, T>
impl<'a, T> UnwindSafe for StructPtr<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,