Trait IntoRawIter

Source
pub trait IntoRawIter {
    type Item;

    // Required methods
    fn raw_iter(self) -> Self::Item;
    fn make_safe(self) -> Option<Self>
       where Self: Sized;
    fn to_vec(self) -> Vec<Self>
       where Self: Sized;
}
Expand description

Iterator trait for libapt raw bindings

Required Associated Types§

Required Methods§

Source

fn raw_iter(self) -> Self::Item

Source

fn make_safe(self) -> Option<Self>
where Self: Sized,

Source

fn to_vec(self) -> Vec<Self>
where Self: Sized,

Implementations on Foreign Types§

Source§

impl IntoRawIter for UniquePtr<DepIterator>

Source§

type Item = IterDepIterator

Source§

fn raw_iter(self) -> Self::Item

Source§

fn make_safe(self) -> Option<Self>

Source§

fn to_vec(self) -> Vec<Self>

Source§

impl IntoRawIter for UniquePtr<DescIterator>

Source§

type Item = IterDescIterator

Source§

fn raw_iter(self) -> Self::Item

Source§

fn make_safe(self) -> Option<Self>

Source§

fn to_vec(self) -> Vec<Self>

Source§

impl IntoRawIter for UniquePtr<PkgFileIterator>

Source§

type Item = IterPkgFileIterator

Source§

fn raw_iter(self) -> Self::Item

Source§

fn make_safe(self) -> Option<Self>

Source§

fn to_vec(self) -> Vec<Self>

Source§

impl IntoRawIter for UniquePtr<PkgIterator>

Source§

type Item = IterPkgIterator

Source§

fn raw_iter(self) -> Self::Item

Source§

fn make_safe(self) -> Option<Self>

Source§

fn to_vec(self) -> Vec<Self>

Source§

impl IntoRawIter for UniquePtr<PrvIterator>

Source§

type Item = IterPrvIterator

Source§

fn raw_iter(self) -> Self::Item

Source§

fn make_safe(self) -> Option<Self>

Source§

fn to_vec(self) -> Vec<Self>

Source§

impl IntoRawIter for UniquePtr<VerFileIterator>

Source§

type Item = IterVerFileIterator

Source§

fn raw_iter(self) -> Self::Item

Source§

fn make_safe(self) -> Option<Self>

Source§

fn to_vec(self) -> Vec<Self>

Source§

impl IntoRawIter for UniquePtr<VerIterator>

Source§

type Item = IterVerIterator

Source§

fn raw_iter(self) -> Self::Item

Source§

fn make_safe(self) -> Option<Self>

Source§

fn to_vec(self) -> Vec<Self>

Implementors§