[−][src]Trait ascesis::Content
An abstraction over script formats: various ways c-e structures are described in text.
This trait is implemented by intermediate representation types,
YamlContent
and ascesis::*
.
Note: types implementing Content
trait shouldn't own
ContextHandle
s, because Content
trait objects are owned by
CEStructure
structs, along with ContextHandle
s themselves.
Required methods
fn get_script(&self) -> Option<&str>
Script
is a content description in text, for example,
YAML-formatted string or Ascesis source.