Enum flowistry_pdg::rustc::mir::mono::InstantiationMode
source · 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.
LocalCopy
Each codegen unit containing a reference to the given MonoItem will have its own private copy of the function (with internal linkage).
Auto Trait Implementations§
impl RefUnwindSafe for InstantiationMode
impl Send for InstantiationMode
impl Sync for InstantiationMode
impl Unpin for InstantiationMode
impl UnwindSafe for InstantiationMode
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