parent
e458ac4c52
commit
389b481607
@ -0,0 +1,22 @@ |
||||
//! A module that adapts the ratman layer to RstNode
|
||||
|
||||
use netmod_mem::MemMod; |
||||
|
||||
/// A pair of exits, connected
|
||||
pub struct Io { |
||||
a: MemMod, |
||||
b: MemMod, |
||||
} |
||||
|
||||
impl Io { |
||||
fn new() -> Self { |
||||
Self::default() |
||||
} |
||||
} |
||||
|
||||
impl Default for Io { |
||||
fn default() -> Self { |
||||
let (a, b) = MemMod::make_pair(); |
||||
Self { a, b } |
||||
} |
||||
} |
Loading…
Reference in new issue