yui_core/abst/
elem.rs

1use std::fmt::{Debug, Display};
2
3pub trait ElemBase: 
4    Default + 
5    PartialEq + 
6    Eq + 
7    Clone + 
8    Send + 
9    Sync + 
10    Display + 
11    Debug + 
12    'static
13{}
14
15impl<T> ElemBase for T where T: 
16    Default + 
17    PartialEq + 
18    Eq + 
19    Clone + 
20    Send + 
21    Sync + 
22    Display + 
23    Debug + 
24    'static
25{}
26
27pub trait Elem: ElemBase { 
28    fn math_symbol() -> String;
29}