Struct libalpm::Dependency
[−]
[src]
pub struct Dependency<'a> { /* fields omitted */ }
A package's dependency
Methods
impl<'a> Dependency<'a>
[src]
fn name(&self) -> &str
Gets the name of the dependency
fn version(&self) -> &PackageVersion<'a>
Gets the version of the dependency
fn description(&self) -> &str
Gets a description of the dependency
fn hash(&self) -> u64
Gets a hash of the dependency's name
fn version_constraint_type(&self) -> VersionConstraintType
Gets the version restriction type