Trait extfsm::Annotated [−][src]
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 name(self, _name: &str) -> Self
set optional name
fn description(self, _name: &str) -> Self
set optional description
fn color(self, _color: DotColor) -> Self
set color
fn visible(self, _visibility: bool) -> Self
set visibility
fn get_name(&self) -> &Option<String>
fn get_description(&self) -> &Option<String>
fn get_color(&self) -> DotColor
Provided Methods
fn is_visible(&self) -> bool
Implementors
impl<ExtendedState, StateType, EventType, TransitionFnArguments, ErrorType> Annotated for TransitionTarget<ExtendedState, StateType, EventType, TransitionFnArguments, ErrorType>
impl<ExtendedState, StateType, EventType, TransitionFnArguments, ErrorType> Annotated for EntryExitTransition<ExtendedState, StateType, EventType, TransitionFnArguments, ErrorType>