pub trait FfiNodeFactory:
Send
+ Sync
+ 'static {
// Required methods
fn node_type(&self) -> RString;
fn create(&self, params: RString) -> RResult<FfiNodeBox, RString>;
}Expand description
FFI-safe factory — produces FfiNode instances from a JSON params blob.