Skip to main content

OptionOutput

Trait OptionOutput 

Source
pub trait OptionOutput {
    // Required method
    fn to_option_output(
        option: Option<&Self>,
        output: &mut (impl ?Sized + Output),
    );
}
Expand description

Provide ToOutput for Option<Self>.

Required Methods§

Source

fn to_option_output(option: Option<&Self>, output: &mut (impl ?Sized + Output))

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T: ToOutput + TaggedOption> OptionOutput for T