Type Alias rustc_middle::query::erase::Erase

source ·
pub type Erase<T: EraseType> = Erased<impl Copy>;

Aliased Type§

struct Erase<T: EraseType> {
    data: MaybeUninit<impl Copy>,
}

Fields§

§data: MaybeUninit<impl Copy>

Trait Implementations§

source§

impl<T: Clone + Copy> Clone for Erased<T>

source§

fn clone(&self) -> Erased<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Copy + Copy> Copy for Erased<T>

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.