Skip to main content

OutputKindAlg

Trait OutputKindAlg 

Source
pub trait OutputKindAlg<Interpreter: ?Sized, From> {
    type Transform: OutputAlg<From>;
}
Expand description

Resolves a portable output kind through an interpreter.

Required Associated Types§

Source

type Transform: OutputAlg<From>

The concrete converter chosen by Interpreter for this output kind.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Interpreter, From> OutputKindAlg<Interpreter, From> for FileOut
where Interpreter: FileOutAlg + ?Sized,

Source§

type Transform = <Interpreter as FileOutAlg>::File<From>

Source§

impl<Interpreter, From> OutputKindAlg<Interpreter, From> for JsonOut
where Interpreter: JsonOutAlg + ?Sized,

Source§

type Transform = <Interpreter as JsonOutAlg>::Json<From>