Struct xcb::base::StructPtr [−][src]
pub struct StructPtr<'a, T: 'a> {
pub ptr: *mut T,
// some fields omitted
}
Expand description
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
pub fn visuals(&self) -> VisualtypeIteratorⓘNotable traits for VisualtypeIteratorimpl Iterator for VisualtypeIterator type Item = Visualtype;
Notable traits for VisualtypeIterator
impl Iterator for VisualtypeIterator type Item = Visualtype;
pub fn allowed_depths(&self) -> DepthIterator<'a>ⓘNotable traits for DepthIterator<'a>impl<'a> Iterator for DepthIterator<'a> type Item = Depth<'a>;
Notable traits for DepthIterator<'a>
impl<'a> Iterator for DepthIterator<'a> type Item = Depth<'a>;
pub fn pixmap_formats(&self) -> FormatIteratorⓘNotable traits for FormatIteratorimpl Iterator for FormatIterator type Item = Format;
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>;
Notable traits for ScreenIterator<'a>
impl<'a> Iterator for ScreenIterator<'a> type Item = Screen<'a>;