#[repr(C)]pub struct DescIterator { /* private fields */ }
Implementations§
Source§impl DescIterator
impl DescIterator
Sourcepub unsafe fn unique(&self) -> UniquePtr<DescIterator>
pub unsafe fn unique(&self) -> UniquePtr<DescIterator>
Clone the pointer.
§Safety
If the inner pointer is null segfaults can occur.
Using crate::raw::IntoRawIter::make_safe
to convert to an Option
is recommended.
The returned UniquePtr cannot outlive the cache.
Trait Implementations§
Source§impl ExternType for DescIterator
impl ExternType for DescIterator
impl UniquePtrTarget for DescIterator
Auto Trait Implementations§
impl !Freeze for DescIterator
impl RefUnwindSafe for DescIterator
impl !Send for DescIterator
impl !Sync for DescIterator
impl !Unpin for DescIterator
impl UnwindSafe for DescIterator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more