pub enum BinaryDependency {
Depends,
Recommends,
Suggests,
Enhances,
PreDepends,
}Expand description
Describes the dependency relationship for a binary package.
Variants correspond to fields in binary control file, as described at https://www.debian.org/doc/debian-policy/ch-relationships.html#binary-dependencies-depends-recommends-suggests-enhances-pre-depends.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for BinaryDependency
impl Clone for BinaryDependency
source§fn clone(&self) -> BinaryDependency
fn clone(&self) -> BinaryDependency
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BinaryDependency
impl Debug for BinaryDependency
source§impl Display for BinaryDependency
impl Display for BinaryDependency
source§impl FromStr for BinaryDependency
impl FromStr for BinaryDependency
impl Copy for BinaryDependency
Auto Trait Implementations§
impl RefUnwindSafe for BinaryDependency
impl Send for BinaryDependency
impl Sync for BinaryDependency
impl Unpin for BinaryDependency
impl UnwindSafe for BinaryDependency
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more