[−][src]Enum rustc_mir::monomorphize::partitioning::MonoItemPlacement

pub(in monomorphize::partitioning) enum MonoItemPlacement {
    SingleCgu {
        cgu_name: Symbol,
    },
    MultipleCgus,
}

For symbol internalization, we need to know whether a symbol/mono-item is accessed from outside the codegen unit it is defined in. This type is used to keep track of that.

Variants

SingleCgu

Fields of SingleCgu

cgu_name: Symbol
MultipleCgus

Trait Implementations

impl Clone for MonoItemPlacement[src]

impl Debug for MonoItemPlacement[src]

impl Eq for MonoItemPlacement[src]

impl PartialEq<MonoItemPlacement> for MonoItemPlacement[src]

impl StructuralEq for MonoItemPlacement[src]

impl StructuralPartialEq for MonoItemPlacement[src]

Auto Trait Implementations

impl RefUnwindSafe for MonoItemPlacement

impl Send for MonoItemPlacement

impl Sync for MonoItemPlacement

impl Unpin for MonoItemPlacement

impl UnwindSafe for MonoItemPlacement

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]