Documentable

Trait Documentable 

Source
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