Enum rustc_typeck::middle::ty::TraitStoreExperimental [-]  [+] [src]

pub enum TraitStore {
    UniqTraitStore,
    RegionTraitStore(Region, Mutability),
}

Variants

UniqTraitStore

Box

RegionTraitStore

&Trait and &mut Trait

Trait Implementations

impl tr for TraitStore

fn tr(&self, dcx: &DecodeContext) -> TraitStore

impl<'tcx> TypeFoldable<'tcx> for TraitStore

fn fold_with<F: TypeFolder<'tcx>>(&self, folder: &mut F) -> TraitStore

impl<'tcx> Repr<'tcx> for TraitStore

fn repr(&self, tcx: &ctxt) -> String

Derived Implementations

impl Show for TraitStore

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for TraitStore

fn decode(__arg_0: &mut __D) -> Result<TraitStore, __E>

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for TraitStore

fn encode(&self, __arg_0: &mut __S) -> Result<(), __E>

impl<__S: Writer> Hash<__S> for TraitStore

fn hash(&self, __arg_0: &mut __S)

impl Eq for TraitStore

fn assert_receiver_is_total_eq(&self)

impl PartialEq<TraitStore> for TraitStore

fn eq(&self, __arg_0: &TraitStore) -> bool

fn ne(&self, __arg_0: &TraitStore) -> bool

fn ne(&self, &TraitStore) -> bool

impl Copy for TraitStore

impl Clone for TraitStore

fn clone(&self) -> TraitStore

fn clone_from(&mut self, &TraitStore)