Struct xcb::base::StructPtr [] [src]

pub struct StructPtr<'a, T: 'a> {
    pub ptr: *mut T,
    // some fields omitted
}

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