2023-10-27 17:08:58 -04:00
|
|
|
use crate::error::CustomError;
|
|
|
|
|
|
|
|
use super::registry::Registry;
|
|
|
|
|
|
|
|
#[derive(Debug)]
|
|
|
|
pub(crate) struct IExampleBlock {}
|
|
|
|
|
|
|
|
impl IExampleBlock {
|
2023-10-29 12:15:07 -04:00
|
|
|
pub(crate) async fn new<'intermediate, 'parse>(
|
|
|
|
registry: &mut Registry<'intermediate, 'parse>,
|
2023-10-27 17:08:58 -04:00
|
|
|
original: &organic::types::ExampleBlock<'parse>,
|
|
|
|
) -> Result<IExampleBlock, CustomError> {
|
|
|
|
Ok(IExampleBlock {})
|
|
|
|
}
|
|
|
|
}
|