Add Value trait to type structs
This commit is contained in:
parent
bcedfe2f81
commit
c2209a8a8a
1 changed files with 4 additions and 0 deletions
|
@ -8,3 +8,7 @@ pub mod number;
|
|||
|
||||
pub type Boolean = bool;
|
||||
pub type Character = char;
|
||||
|
||||
pub trait Value { }
|
||||
impl Value for Boolean { }
|
||||
impl Value for Character { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue