Struct rustc_trans::middle::ty::ExistentialBoundsExperimental [-]  [+] [src]

pub struct ExistentialBounds {
    pub region_bound: Region,
    pub builtin_bounds: EnumSet<BuiltinBound>,
}

Bounds suitable for an existentially quantified type parameter such as those that appear in object types or closure types. The major difference between this case and ParamBounds is that general purpose trait bounds are omitted and there must be exactly one region.

Fields

region_bound
builtin_bounds

Trait Implementations

impl<'tcx> TypeFoldable<'tcx> for ExistentialBounds

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

impl<'tcx> Repr<'tcx> for ExistentialBounds

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

impl<'tcx> UserString<'tcx> for ExistentialBounds

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

Derived Implementations

impl Show for ExistentialBounds

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

impl Clone for ExistentialBounds

fn clone(&self) -> ExistentialBounds

fn clone_from(&mut self, &ExistentialBounds)

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

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

impl Eq for ExistentialBounds

fn assert_receiver_is_total_eq(&self)

impl PartialEq for ExistentialBounds

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

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

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