Skip to main content

InlineOutput

Derive Macro InlineOutput 

Source
#[derive(InlineOutput)]
Expand description
use object_rainbow::{InlineOutput, ToOutput};

#[derive(ToOutput, InlineOutput)]
struct Three<A, B, C> {
    a: A,
    b: B,
    c: C,
}

object_rainbow::assert_impl!(
    impl<A, B, C> InlineOutput for Three<A, B, C>
    where
        A: InlineOutput,
        B: InlineOutput,
        C: InlineOutput,
    {}
);