Skip to content
Snippets Groups Projects
Commit 12e37a3c authored by pln's avatar pln
Browse files

some fixes

parent 3db36b8c
Branches
No related tags found
No related merge requests found
...@@ -105,14 +105,22 @@ impl App { ...@@ -105,14 +105,22 @@ impl App {
/// `$($Ident: $Path,)*` /// `$($Ident: $Path,)*`
pub type Crcs = HashMap<Ident, Path>; pub type Crcs = HashMap<Ident, Path>;
/// Input port binding
#[derive(Debug)]
pub enum IpTo { pub enum IpTo {
/// Input port connecting to inner Crc
Crc(Path), Crc(Path),
/// Input port connecting to method
Method(Ident), Method(Ident),
} }
///
#[derive(Debug)]
pub struct Ip { pub struct Ip {
/// Input port type
ty: Ty, ty: Ty,
to: IpBind, /// Input port binding
to: IpTo,
} }
/// `$($Ident: $Ty,)*` /// `$($Ident: $Ty,)*`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment