pub enum CrateType {
Bin,
Lib,
Rlib,
Dylib,
Cdylib,
Staticlib,
ProcMacro,
Other(String),
}
Variants§
Implementations§
Trait Implementations§
source§impl Ord for CrateType
impl Ord for CrateType
source§impl PartialEq<CrateType> for CrateType
impl PartialEq<CrateType> for CrateType
source§impl PartialOrd<CrateType> for CrateType
impl PartialOrd<CrateType> for CrateType
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 Eq for CrateType
impl StructuralEq for CrateType
impl StructuralPartialEq for CrateType
Auto Trait Implementations§
impl RefUnwindSafe for CrateType
impl Send for CrateType
impl Sync for CrateType
impl Unpin for CrateType
impl UnwindSafe for CrateType
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.Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes
Size for each variant:
Bin
: 0 bytesLib
: 0 bytesRlib
: 0 bytesDylib
: 0 bytesCdylib
: 0 bytesStaticlib
: 0 bytesProcMacro
: 0 bytesOther
: 24 bytes