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
Expand description
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
Expand description
Each codegen unit containing a reference to the given MonoItem will have its own private copy of the function (with internal linkage).
Trait Implementations
impl PartialEq<InstantiationMode> for InstantiationMode[src]
impl PartialEq<InstantiationMode> for InstantiationMode[src]fn eq(&self, other: &InstantiationMode) -> bool[src]
fn eq(&self, other: &InstantiationMode) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &InstantiationMode) -> bool[src]
fn ne(&self, other: &InstantiationMode) -> bool[src]This method tests for !=.
impl StructuralPartialEq for InstantiationMode[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,