Enum rustc_metadata::locator::CrateFlavor
source · pub(crate) enum CrateFlavor {
Rlib,
Rmeta,
Dylib,
}
Variants§
Trait Implementations§
source§impl Clone for CrateFlavor
impl Clone for CrateFlavor
source§fn clone(&self) -> CrateFlavor
fn clone(&self) -> CrateFlavor
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 Display for CrateFlavor
impl Display for CrateFlavor
source§impl IntoDiagnosticArg for CrateFlavor
impl IntoDiagnosticArg for CrateFlavor
fn into_diagnostic_arg(self) -> DiagnosticArgValue<'static>
source§impl PartialEq<CrateFlavor> for CrateFlavor
impl PartialEq<CrateFlavor> for CrateFlavor
source§fn eq(&self, other: &CrateFlavor) -> bool
fn eq(&self, other: &CrateFlavor) -> bool
impl Copy for CrateFlavor
impl StructuralPartialEq for CrateFlavor
Auto Trait Implementations§
impl RefUnwindSafe for CrateFlavor
impl Send for CrateFlavor
impl Sync for CrateFlavor
impl Unpin for CrateFlavor
impl UnwindSafe for CrateFlavor
Blanket Implementations§
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: 1 byte
Size for each variant:
Rlib
: 0 bytesRmeta
: 0 bytesDylib
: 0 bytes