Symbols

Trait Symbols 

Source
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§

Source

fn to_symbol(&self) -> String

Have a small Symbol to resume it

Provided Methods§

Source

fn to_shortest(&self) -> String

Have the shortest display possible

Implementations on Foreign Types§

Source§

impl Symbols for Option<FactionId>

Source§

impl Symbols for Uuid

Implementors§