pub struct DataflowLayout {
pub inputs: HashSet<InputID>,
pub outputs: HashSet<OutputID>,
}
Fields§
§inputs: HashSet<InputID>
§outputs: HashSet<OutputID>
Implementations§
Source§impl DataflowLayout
impl DataflowLayout
pub fn new() -> DataflowLayout
pub async fn create_node<T>( &mut self, node: impl AsyncFn(&mut NodeIO) -> T, ) -> (NodeID, T)
Trait Implementations§
Source§impl Default for DataflowLayout
impl Default for DataflowLayout
Source§fn default() -> DataflowLayout
fn default() -> DataflowLayout
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DataflowLayout
impl RefUnwindSafe for DataflowLayout
impl Send for DataflowLayout
impl Sync for DataflowLayout
impl Unpin for DataflowLayout
impl UnwindSafe for DataflowLayout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more