[−][src]Struct alpm::AlpmList
Implementations
impl<'a> AlpmList<'a, Db<'a>>
[src]
impl<'a> AlpmList<'a, Package<'a>>
[src]
impl<'a, 'b, T> AlpmList<'a, T> where
T: IntoAlpmListItem<'a, 'b>,
[src]
T: IntoAlpmListItem<'a, 'b>,
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn first(&'b self) -> Option<T::Borrow>
[src]
pub fn last(&'b self) -> Option<T::Borrow>
[src]
pub fn iter(&'b self) -> Iter<'a, 'b, T>ⓘ
[src]
impl<'a> AlpmList<'a, String>
[src]
impl<'a, T> AlpmList<'a, T> where
T: IntoAlpmListItem<'a, 'b>,
[src]
T: IntoAlpmListItem<'a, 'b>,
pub fn to_list(&self) -> AlpmListMut<'a, T>
[src]
Trait Implementations
impl<'a> AsRawAlpmList<'a, Package<'a>> for AlpmList<'a, LoadedPackage<'a>>
[src]
type Drop = False
unsafe fn as_raw_alpm_list(self) -> RawAlpmList<'a, Package<'a>, Self::Drop>
[src]
impl<'a, T> AsRawAlpmList<'a, T> for AlpmList<'a, T> where
T: AsAlpmListItemPtr<'a>,
[src]
T: AsAlpmListItemPtr<'a>,
type Drop = False
unsafe fn as_raw_alpm_list(self) -> RawAlpmList<'a, T, Self::Drop>
[src]
impl<'a, T> Clone for AlpmList<'a, T>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, T> Copy for AlpmList<'a, T>
[src]
impl<'a, T: Debug> Debug for AlpmList<'a, T>
[src]
impl<'a, 'b, T> IntoIterator for &'b AlpmList<'a, T> where
T: IntoAlpmListItem<'a, 'b>,
[src]
T: IntoAlpmListItem<'a, 'b>,
type Item = T::Borrow
The type of the elements being iterated over.
type IntoIter = Iter<'a, 'b, T>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a, T> IntoIterator for AlpmList<'a, T> where
T: IntoAlpmListItem<'a, 'a>,
[src]
T: IntoAlpmListItem<'a, 'a>,
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for AlpmList<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> !Send for AlpmList<'a, T>
impl<'a, T> !Sync for AlpmList<'a, T>
impl<'a, T> Unpin for AlpmList<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> UnwindSafe for AlpmList<'a, T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> I
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,