Macro displaydoc_lite::displaydoc[][src]

macro_rules! displaydoc {
    ($(#[$enum_attr:meta])*
    $pub:vis enum $name:ident {$(
        $(#[$attr:meta])*
        $variant:ident
    ),*$(,)?}) => { ... };
    (@docs, #[doc = $($doc:tt)*] $($rest:tt)*) => { ... };
    (@docs, #[$_:meta] $($rest:tt)*) => { ... };
    (@docs,) => { ... };
}

The main macro of this crate which is used to create the Display implementation for an enum.

See the root module for more documentation.