#[repr(C)]pub struct PrvIterator { /* private fields */ }
Implementations§
Source§impl PrvIterator
impl PrvIterator
Sourcepub fn version_str(&self) -> Result<&str, Exception>
pub fn version_str(&self) -> Result<&str, Exception>
The version string that this provides
Source§impl PrvIterator
impl PrvIterator
Sourcepub unsafe fn target_pkg(&self) -> UniquePtr<PkgIterator>
pub unsafe fn target_pkg(&self) -> UniquePtr<PkgIterator>
The Target Package that can satisfy this provides
§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.
Source§impl PrvIterator
impl PrvIterator
Sourcepub unsafe fn target_ver(&self) -> UniquePtr<VerIterator>
pub unsafe fn target_ver(&self) -> UniquePtr<VerIterator>
The Target Version that can satisfy this provides
§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.
Source§impl PrvIterator
impl PrvIterator
Sourcepub unsafe fn unique(&self) -> UniquePtr<PrvIterator>
pub unsafe fn unique(&self) -> UniquePtr<PrvIterator>
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 PrvIterator
impl ExternType for PrvIterator
impl UniquePtrTarget for PrvIterator
Auto Trait Implementations§
impl !Freeze for PrvIterator
impl RefUnwindSafe for PrvIterator
impl !Send for PrvIterator
impl !Sync for PrvIterator
impl !Unpin for PrvIterator
impl UnwindSafe for PrvIterator
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