#[repr(C)]pub struct DepIterator { /* private fields */ }
Implementations§
Source§impl DepIterator
impl DepIterator
Sourcepub unsafe fn parent_pkg(&self) -> UniquePtr<PkgIterator>
pub unsafe fn parent_pkg(&self) -> UniquePtr<PkgIterator>
The Parent PkgIterator for this dependency
§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 DepIterator
impl DepIterator
Sourcepub unsafe fn parent_ver(&self) -> UniquePtr<VerIterator>
pub unsafe fn parent_ver(&self) -> UniquePtr<VerIterator>
The Parent VerIterator for this dependency
§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 DepIterator
impl DepIterator
Source§impl DepIterator
impl DepIterator
Sourcepub fn is_critical(&self) -> bool
pub fn is_critical(&self) -> bool
Source§impl DepIterator
impl DepIterator
Sourcepub fn is_reverse(&self) -> bool
pub fn is_reverse(&self) -> bool
Return True if the dep is reverse, false if normal
Source§impl DepIterator
impl DepIterator
pub fn target_ver(&self) -> Result<&str, Exception>
Source§impl DepIterator
impl DepIterator
Sourcepub unsafe fn target_pkg(&self) -> UniquePtr<PkgIterator>
pub unsafe fn target_pkg(&self) -> UniquePtr<PkgIterator>
Return the Target Package for the dependency.
§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 DepIterator
impl DepIterator
Sourcepub unsafe fn all_targets(&self) -> UniquePtr<CxxVector<VerIterator>>
pub unsafe fn all_targets(&self) -> UniquePtr<CxxVector<VerIterator>>
Returns a CxxVector of VerIterators.
§Safety
These can not be owned and will need to be Cloned with unique.
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 DepIterator
impl DepIterator
Source§impl DepIterator
impl DepIterator
Sourcepub unsafe fn unique(&self) -> UniquePtr<DepIterator>
pub unsafe fn unique(&self) -> UniquePtr<DepIterator>
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.