Type Definition rustc_infer::traits::TraitObligation

source ·
pub type TraitObligation<'tcx> = Obligation<'tcx, PolyTraitPredicate<'tcx>>;

Implementations§

Returns true if the trait predicate is considered const in its ParamEnv.

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: 72 bytes