KeywordEncodable

Trait KeywordEncodable 

Source
pub trait KeywordEncodable {
    // Required method
    fn to_str(self) -> &'static str;
}
Expand description

Keywords that can be encoded (written) into a (being-built) network document

Required Methods§

Source

fn to_str(self) -> &'static str

Encoding of the keyword.

Used for error reporting, and also by NetdocEncoder::item.

Implementations on Foreign Types§

Source§

impl KeywordEncodable for &'static str

Source§

fn to_str(self) -> &'static str

Implementors§