Trait documented::Documented

source ·
pub trait Documented {
    const DOCS: &'static str;
}
Expand description

Adds an associated constant DOCS on your type containing its documentation, allowing you to access its documentation at runtime.

For how to use the derive macro, see Documented.

Required Associated Constants§

source

const DOCS: &'static str

The static doc comments on this type.

Object Safety§

This trait is not object safe.

Implementors§