Trait tref::NodeContent [−][src]
pub trait NodeContent {
fn new(content: String) -> Option<Self>
where
Self: Sized;
fn get_content(&self) -> &str;
}
Expand description
Trait to define structs that model a node content.