Struct alpm_sys_ll::_alpm_depend_t
source · [−]#[repr(C)]pub struct _alpm_depend_t {
pub name: *mut c_char,
pub version: *mut c_char,
pub desc: *mut c_char,
pub name_hash: c_ulong,
pub mod_: alpm_depmod_t,
}
Expand description
The basic dependency type.
This type is used throughout libalpm, not just for dependencies but also conflicts and providers.
Fields
name: *mut c_char
Name of the provider to satisfy this dependency
version: *mut c_char
Version of the provider to match against (optional)
desc: *mut c_char
A description of why this dependency is needed (optional)
name_hash: c_ulong
A hash of name (used internally to speed up conflict checks)
mod_: alpm_depmod_t
How the version should match against the provider
Trait Implementations
sourceimpl Clone for _alpm_depend_t
impl Clone for _alpm_depend_t
sourcefn clone(&self) -> _alpm_depend_t
fn clone(&self) -> _alpm_depend_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for _alpm_depend_t
impl Debug for _alpm_depend_t
impl Copy for _alpm_depend_t
Auto Trait Implementations
impl RefUnwindSafe for _alpm_depend_t
impl !Send for _alpm_depend_t
impl !Sync for _alpm_depend_t
impl Unpin for _alpm_depend_t
impl UnwindSafe for _alpm_depend_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more