Skip to main content

ImplExpr

Type Alias ImplExpr 

Source
pub type ImplExpr = HashConsed<ImplExprContents>;
Expand description

An ImplExpr describes the full data of a trait implementation. Because of generics, this may need to combine several concrete trait implementation items. For example, ((1u8, 2u8), "hello").clone() combines the generic implementation of Clone for (A, B) with the concrete implementations for u8 and &str, represented as a tree.

Aliased Typeยง

pub struct ImplExpr(/* private fields */);