Skip to main content

Converter

Trait Converter 

Source
pub trait Converter {
    type Output;

    // Required method
    fn convert(self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn convert(self) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§