[−][src]Struct alpm::Depend
Implementations
impl 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>
fn as_ptr(&self) -> *mut c_void
[src]
const FREE: Option<unsafe extern "C" fn(_ptr: *mut c_void)>
[src]
impl AsDep for Depend
[src]
impl Debug for Depend
[src]
impl Deref for Depend
[src]
type Target = Dep<'static>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Display for Depend
[src]
impl Drop for Depend
[src]
impl Eq for Depend
[src]
impl Hash for Depend
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'a, 'b> IntoAlpmListItem<'a, 'b> for Depend
[src]
type Borrow = Dep<'b>
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 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]
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>,