Skip to main content

InfererWrapperExt

Trait InfererWrapperExt 

Source
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§

Source

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".

Implementors§