Enum libtmplgen::types::PkgType
source · pub enum PkgType {
Crate,
Gem,
PerlDist,
}
Expand description
The PkgType enum, containing all types of packages tmplgen can handle
Variants§
Trait Implementations§
source§impl Ord for PkgType
impl Ord for PkgType
source§impl PartialOrd<PkgType> for PkgType
impl PartialOrd<PkgType> for PkgType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PkgType
impl Eq for PkgType
impl StructuralEq for PkgType
impl StructuralPartialEq for PkgType
Auto Trait Implementations§
impl RefUnwindSafe for PkgType
impl Send for PkgType
impl Sync for PkgType
impl Unpin for PkgType
impl UnwindSafe for PkgType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.