pub trait InfererWrapperExt: InfererWrapper + Sized {
// Provided method
fn wrap<Inf: Inferer>(self, inferer: Inf) -> StatefulInferer<Self, Inf> { ... }
}Expand description
Extension trait to allow easy wrapping of an inferer with a wrapper stack.
Provided Methods§
Sourcefn wrap<Inf: Inferer>(self, inferer: Inf) -> StatefulInferer<Self, Inf>
fn wrap<Inf: Inferer>(self, inferer: Inf) -> StatefulInferer<Self, Inf>
Construct a StatefulInferer by wrapping an inner inferer with this wrapper.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".