pub trait Annotated where
Self: Sized, {
fn name(self, _name: &str) -> Self;
fn description(self, _name: &str) -> Self;
fn color(self, _color: DotColor) -> Self;
fn visible(self, _visibility: bool) -> Self;
fn get_name(&self) -> &Option<String>;
fn get_description(&self) -> &Option<String>;
fn get_color(&self) -> DotColor;
fn is_visible(&self) -> bool { ... }
}
Required methods
fn description(self, _name: &str) -> Self
fn description(self, _name: &str) -> Self
set optional description