Trait HasDisplayLabel

Source
pub trait HasDisplayLabel {
    // Required method
    fn display_label(&self) -> Option<String>;
}
Expand description

A display label is a computed label that may be used in a specific representation to present data from different node attributes.

Required Methods§

Source

fn display_label(&self) -> Option<String>

Compute the display label for this Net node.

Note: if a display label is expected and this method returns None and the object implements HasLabel use the label value as the display label.

Implementors§