Enum rustc_middle::mir::mono::InstantiationMode [−][src]
pub enum InstantiationMode {
GloballyShared {
may_conflict: bool,
},
LocalCopy,
}Expand description
Describes how a monomorphization will be instantiated in object files.
Variants
There will be exactly one instance of the given MonoItem. It will have external linkage so that it can be linked to from other codegen units.
Show fields
Each codegen unit containing a reference to the given MonoItem will have its own private copy of the function (with internal linkage).
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for InstantiationModeimpl Send for InstantiationModeimpl Sync for InstantiationModeimpl Unpin for InstantiationModeimpl UnwindSafe for InstantiationModeBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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