From 12e37a3cb387fceef764c23550c310e50221c9a6 Mon Sep 17 00:00:00 2001 From: pln <Per Lindgren> Date: Mon, 7 Aug 2017 01:04:10 +0200 Subject: [PATCH] some fixes --- src/lib.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 4ec8db5..95cd285 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -105,14 +105,22 @@ impl App { /// `$($Ident: $Path,)*` pub type Crcs = HashMap<Ident, Path>; +/// Input port binding +#[derive(Debug)] pub enum IpTo { + /// Input port connecting to inner Crc Crc(Path), + /// Input port connecting to method Method(Ident), } +/// +#[derive(Debug)] pub struct Ip { + /// Input port type ty: Ty, - to: IpBind, + /// Input port binding + to: IpTo, } /// `$($Ident: $Ty,)*` -- GitLab