[−][src]Struct clipboard_x11::StructPtr
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
Methods
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) -> xcb_visualtype_iterator_t
[src]
impl<'a> StructPtr<'a, xcb_screen_t>
[src]
pub fn root(&self) -> u32
[src]
pub fn default_colormap(&self) -> u32
[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) -> u32
[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) -> xcb_depth_iterator_t<'a>
[src]
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) -> u8
[src]
pub fn max_keycode(&self) -> u8
[src]
pub fn vendor(&self) -> &str
[src]
pub fn pixmap_formats(&self) -> xcb_format_iterator_t
[src]
pub fn roots(&self) -> xcb_screen_iterator_t<'a>
[src]
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]
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,
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.
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>,