pub trait Symbols {
// Required method
fn to_symbol(&self) -> String;
// Provided method
fn to_shortest(&self) -> String { ... }
}Expand description
Trait to implement some symbol representations
Required Methods§
Provided Methods§
Sourcefn to_shortest(&self) -> String
fn to_shortest(&self) -> String
Have the shortest display possible