protoflow_blocks/
block_instantiation.rs

1
2
3
4
5
6
7
8
9
10
11
// This is free and unencumbered software released into the public domain.

use super::{prelude::Box, System};
use protoflow_core::Block;

/// A trait for instantiating a block in a given system.
pub trait BlockInstantiation {
    fn instantiate(&self, _system: &mut System) -> Box<dyn Block> {
        unimplemented!()
    }
}