HostEffectPredicate in rustc_middle::ty - Rust
Description: API documentation for the Rust `HostEffectPredicate` type in crate `rustc_middle`.

Skip to main content

## HostEffectPredicate

# Type Alias HostEffectPredicate

Source

    pub type HostEffectPredicate<'tcx> = HostEffectPredicate<TyCtxt<'tcx>>;

## Aliased Type§

    pub struct HostEffectPredicate<'tcx> {
        pub trait_ref: TraitRef<TyCtxt<'tcx>>,
        pub constness: BoundConstness,
    }

## Fields§

§`trait_ref: TraitRef<TyCtxt<'tcx>>`§`constness: BoundConstness`

## Trait Implementations§

Source§

### impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for HostEffectPredicate<'tcx>

Source§

#### fn print(&self, p: &mut P) -> Result<(), PrintError>

## Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain `repr(...)` attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 24 bytes