[][src]Enum rustc::mir::ClearCrossCrate

pub enum ClearCrossCrate<T> {
    Clear,
    Set(T),
}
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Variants

Clear
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Set(T)
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Methods

impl<T> ClearCrossCrate<T>[src]

pub fn as_ref<'a>(&'a self) -> ClearCrossCrate<&'a T>[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

pub fn assert_crate_local(self) -> T[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Trait Implementations

impl<T: Clone> Clone for ClearCrossCrate<T>[src]

impl<T: Copy> Copy for ClearCrossCrate<T>[src]

impl<T: Debug> Debug for ClearCrossCrate<T>[src]

impl<'__ctx, T> HashStable<StableHashingContext<'__ctx>> for ClearCrossCrate<T> where
    T: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'a, 'tcx, T: Decodable> SpecializedDecoder<ClearCrossCrate<T>> for CacheDecoder<'a, 'tcx>[src]

impl<'a, 'tcx, E, T> SpecializedEncoder<ClearCrossCrate<T>> for CacheEncoder<'a, 'tcx, E> where
    E: 'a + TyEncoder,
    T: Encodable
[src]

impl<'tcx, T> TypeFoldable<'tcx> for ClearCrossCrate<T> where
    T: TypeFoldable<'tcx>, 
[src]

impl<T: Decodable> UseSpecializedDecodable for ClearCrossCrate<T>[src]

impl<T: Encodable> UseSpecializedEncodable for ClearCrossCrate<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ClearCrossCrate<T> where
    T: RefUnwindSafe

impl<T> Send for ClearCrossCrate<T> where
    T: Send

impl<T> Sync for ClearCrossCrate<T> where
    T: Sync

impl<T> Unpin for ClearCrossCrate<T> where
    T: Unpin

impl<T> UnwindSafe for ClearCrossCrate<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T> ArenaAllocatable for T where
    T: Copy
[src]

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

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

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

impl<T> Erased for T[src]

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

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

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

type Error = !

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<E> SpecializationError for E[src]

impl<'tcx, T> Subst<'tcx> for T where
    T: TypeFoldable<'tcx>, 
[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]