Trait rustc_infer::infer::canonical::ir::inherent::PlaceholderLike

source ·
pub trait PlaceholderLike:
    Copy
    + Debug
    + Hash
    + Eq {
    // Required methods
    fn universe(self) -> UniverseIndex;
    fn var(self) -> BoundVar;
    fn with_updated_universe(self, ui: UniverseIndex) -> Self;
    fn new(ui: UniverseIndex, var: BoundVar) -> Self;
}
Expand description

Common capabilities of placeholder kinds

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl PlaceholderLike for Placeholder<BoundRegion>

source§

impl PlaceholderLike for Placeholder<BoundTy>

source§

impl PlaceholderLike for Placeholder<BoundVar>

Implementors§