Added definition of type trait

This commit is contained in:
Denis Merigoux
2018-08-30 17:50:28 +02:00
committed by Eduard-Mihai Burtescu
parent 3e77f2fc4f
commit 5f28e0a0b6
7 changed files with 51 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ use std::fmt::Debug;
pub trait Backend {
type Value: Debug + PartialEq;
type BasicBlock;
type Type;
type Type : Debug + PartialEq;
type TypeKind;
type Context;
}