pub trait Layer<R> {
    type Output;

    fn layer(&self, inner: R) -> Self::Output;
}
Expand description

Decorates an object by wrapping it within another type.

Required Associated Types

The output type after wrapping.

Required Methods

Wraps inner based on this layer.

Implementors