pub trait Documentable: Named {
    // Required methods
    fn comment(&self) -> Option<&Comment>;
    fn kind(&self) -> &'static str;

    // Provided methods
    fn title(&self) -> String { ... }
    fn title_word_case(&self) -> String { ... }
    fn desc(&self) -> String { ... }
}

Required Methods§

source

fn comment(&self) -> Option<&Comment>

source

fn kind(&self) -> &'static str

Provided Methods§

source

fn title(&self) -> String

source

fn title_word_case(&self) -> String

source

fn desc(&self) -> String

Implementors§

source§

impl Documentable for Enum

source§

impl Documentable for Member

source§

impl Documentable for teo_runtime::interface::field::field::Field

source§

impl Documentable for Interface

source§

impl Documentable for teo_runtime::model::field::field::Field

source§

impl Documentable for Model

source§

impl Documentable for Property

source§

impl Documentable for Relation