Struct alpm::Dep [−][src]
pub struct Dep<'a> { /* fields omitted */ }
Implementations
impl<'a> Dep<'a>
[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) -> &'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 Dep<'a>
[src]
type Output = Dep<'a>
fn as_ptr(&self) -> *mut c_void
[src]
const FREE: Option<unsafe extern "C" fn(_ptr: *mut c_void)>
[src]
impl<'a> AsDep for Dep<'a>
[src]
impl<'a> AsDep for &Dep<'a>
[src]
impl<'a> Debug for Dep<'a>
[src]
impl<'a> Display for Dep<'a>
[src]
impl<'a> Eq for Dep<'a>
[src]
impl<'a> Hash for Dep<'a>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'a> Into<Vec<u8, Global>> for Dep<'a>
[src]
impl<'a, 'b> IntoAlpmListItem<'a, 'b> for Dep<'a>
[src]
type Borrow = Self
unsafe fn into_alpm_list_item(_handle: &'a Alpm, ptr: *mut c_void) -> Self
[src]
unsafe fn as_alpm_list_item(_handle: &'a Alpm, ptr: *mut c_void) -> Self::Borrow
[src]
impl<'a> PartialEq<Dep<'a>> for Dep<'a>
[src]
impl<'a> Push<'a> for Dep<'a>
[src]
impl<'a> Send for Dep<'a>
[src]
impl<'a> Sync for Dep<'a>
[src]
Auto Trait Implementations
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<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,