pub enum DependType {
Full,
Build,
Bootstrap,
Tool,
Test,
}Expand description
Type of dependency (full, build, bootstrap, test, etc.)
Variants§
Full
A regular full pkgsrc dependency for this package, usually specified
using DEPENDS. The default value.
Build
A pkgsrc dependency that is only required to build the package, usually
specified using BUILD_DEPENDS.
Bootstrap
Dependency required to make the pkgsrc infrastructure work for this package (for example a checksum tool to verify distfiles).
Tool
A host tool required to build this package. May turn into a pkgsrc
dependency if the host does not provide a compatible tool. May be
defined using USE_TOOLS or TOOL_DEPENDS.
Test
A pkgsrc dependency that is only required to run the test suite for a package.
Trait Implementations§
Source§impl Clone for DependType
impl Clone for DependType
Source§fn clone(&self) -> DependType
fn clone(&self) -> DependType
Returns a duplicate 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 DependType
impl Debug for DependType
Source§impl Default for DependType
impl Default for DependType
Source§fn default() -> DependType
fn default() -> DependType
Returns the “default value” for a type. Read more
Source§impl Hash for DependType
impl Hash for DependType
Source§impl PartialEq for DependType
impl PartialEq for DependType
impl Eq for DependType
impl StructuralPartialEq for DependType
Auto Trait Implementations§
impl Freeze for DependType
impl RefUnwindSafe for DependType
impl Send for DependType
impl Sync for DependType
impl Unpin for DependType
impl UnwindSafe for DependType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.