pub struct AlpmList<'a, T> { /* private fields */ }
Implementations
sourceimpl<'a, 'b, T> AlpmList<'a, T> where
T: IntoAlpmListItem<'a, 'b>,
impl<'a, 'b, T> AlpmList<'a, T> where
T: IntoAlpmListItem<'a, 'b>,
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn first(&'b self) -> Option<T::Borrow>
pub fn last(&'b self) -> Option<T::Borrow>
pub fn iter(&'b self) -> Iter<'a, 'b, T>ⓘNotable traits for Iter<'a, 'b, T>impl<'a, 'b, T> Iterator for Iter<'a, 'b, T> where
T: IntoAlpmListItem<'a, 'b>, type Item = T::Borrow;
T: IntoAlpmListItem<'a, 'b>, type Item = T::Borrow;
sourceimpl<'a, T> AlpmList<'a, T> where
for<'b> T: IntoAlpmListItem<'a, 'b>,
impl<'a, T> AlpmList<'a, T> where
for<'b> T: IntoAlpmListItem<'a, 'b>,
pub fn to_list_mut(&self) -> AlpmListMut<'a, T>
Trait Implementations
sourceimpl<'a, T> Debug for AlpmList<'a, T> where
for<'b> T: IntoAlpmListItem<'a, 'b>,
impl<'a, T> Debug for AlpmList<'a, T> where
for<'b> T: IntoAlpmListItem<'a, 'b>,
sourceimpl<'a, 'b, T> IntoIterator for &'b AlpmList<'a, T> where
T: IntoAlpmListItem<'a, 'b>,
impl<'a, 'b, T> IntoIterator for &'b AlpmList<'a, T> where
T: IntoAlpmListItem<'a, 'b>,
sourceimpl<'a, T> IntoIterator for AlpmList<'a, T> where
T: IntoAlpmListItem<'a, 'a>,
impl<'a, T> IntoIterator for AlpmList<'a, T> where
T: IntoAlpmListItem<'a, 'a>,
impl<'a, T> Copy for AlpmList<'a, T>
impl<'a> IntoRawAlpmList<'a, Pkg<'a>> for AlpmList<'a, LoadedPackage<'a>>
impl<'a> IntoRawAlpmList<'a, Pkg<'a>> for AlpmList<'a, Package<'a>>
impl<'a, T> IntoRawAlpmList<'a, T> for AlpmList<'a, T> where
T: AsAlpmListItemPtr<'a>,
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for AlpmList<'a, T>
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,
impl<'a, T> !UnwindSafe for AlpmList<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more