[][src]Struct alpm::Depend

pub struct Depend { /* fields omitted */ }

Implementations

impl Depend[src]

pub fn new<S: Into<Vec<u8>>>(s: S) -> Depend[src]

Methods from Deref<Target = Dep<'static>>

pub fn to_depend(&self) -> Depend[src]

pub fn name(&self) -> &str[src]

pub fn version(&self) -> Option<&Ver>[src]

pub fn desc(&self) -> &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]

type Output = Dep<'a>

impl AsDep for Depend[src]

impl Debug for Depend[src]

impl Deref for Depend[src]

type Target = Dep<'static>

The resulting type after dereferencing.

impl Display for Depend[src]

impl Drop for Depend[src]

impl Eq for Depend[src]

impl Hash for Depend[src]

impl<'a, 'b> IntoAlpmListItem<'a, 'b> for Depend[src]

type Borrow = Dep<'b>

impl PartialEq<Depend> for Depend[src]

impl<'a> Push<'a> for Depend[src]

impl StructuralEq 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.