Struct alpm::Depend [−][src]
pub struct Depend { /* fields omitted */ }
Implementations
Methods from Deref<Target = Dep<'static>>
pub fn dep<'b>(&'b self) -> Dep<'b>
[src]
pub fn to_depend(&self) -> Depend
[src]
pub fn name(&self) -> &'a str
[src]
pub fn version(&self) -> Option<&'a Ver>
[src]
pub fn desc(&self) -> Option<&'a str>
[src]
pub fn name_hash(&self) -> u64
[src]
pub fn depmod(&self) -> DepMod
[src]
pub fn depmodver(&self) -> DepModVer<'_>
[src]
Trait Implementations
impl<'a> AsAlpmListItemPtr<'a> for Depend
[src]
impl<'a> AsAlpmListItemPtr<'a> for Depend
[src]impl<'a, 'b> IntoAlpmListItem<'a, 'b> for Depend
[src]
impl<'a, 'b> IntoAlpmListItem<'a, 'b> for Depend
[src]impl<'a> Push<'a> for Depend
[src]
impl StructuralPartialEq for Depend
[src]
Auto Trait Implementations
impl RefUnwindSafe for Depend
impl Send for Depend
impl Sync for Depend
impl Unpin for Depend
impl UnwindSafe for Depend
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more