Struct alpm::AlpmListMut
source · pub struct AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,{ /* private fields */ }
Implementations§
source§impl<'a, T> AlpmListMut<'a, T>
impl<'a, T> AlpmListMut<'a, T>
source§impl<'a, T> AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,
impl<'a, T> AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,
source§impl<'a, T> AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,
impl<'a, T> AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,
pub fn new(handle: &'a Alpm) -> AlpmListMut<'a, T>
Methods from Deref<Target = AlpmList<'a, T>>§
pub fn update(&self, force: bool) -> Result<bool>
pub fn find_satisfier<S: Into<Vec<u8>>>(&self, dep: S) -> Option<Package<'a>>
pub fn find_satisfier<S: Into<Vec<u8>>>(&self, dep: S) -> Option<Package<'a>>
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> ⓘ
pub fn as_str<'b>(&'b self) -> AlpmList<'a, &'b str>
pub fn to_list_mut(&self) -> AlpmListMut<'a, T>
Trait Implementations§
source§impl<'a, T> Debug for AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,
impl<'a, T> Debug for AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,
source§impl<'a, T> Deref for AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,
impl<'a, T> Deref for AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,
source§impl<'a, T> Drop for AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,
impl<'a, T> Drop for AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,
source§impl<'a, T> Extend<T> for AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b> + Push<'a>,
impl<'a, T> Extend<T> for AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b> + Push<'a>,
source§fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)
fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl<'a, 'b, T> IntoIterator for &'b AlpmListMut<'a, T>where
for<'c> T: IntoAlpmListItem<'a, 'c>,
impl<'a, 'b, T> IntoIterator for &'b AlpmListMut<'a, T>where
for<'c> T: IntoAlpmListItem<'a, 'c>,
source§impl<'a, T> IntoIterator for AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,
impl<'a, T> IntoIterator for AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b>,
impl<'a, T> IntoRawAlpmList<'a, T> for &AlpmListMut<'a, T>where
for<'b> T: IntoAlpmListItem<'a, 'b> + AsAlpmListItemPtr<'a>,
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for AlpmListMut<'a, T>
impl<'a, T> !Send for AlpmListMut<'a, T>
impl<'a, T> !Sync for AlpmListMut<'a, T>
impl<'a, T> Unpin for AlpmListMut<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for AlpmListMut<'a, T>
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