use crate::value_ex::FfiValueRefUntyped; use super::ObjectABI; pub struct Plugin {} impl ObjectABI for Plugin { type VTable = PluginVTable; } pub struct PluginVTable { pub plugin_name: unsafe extern "C" fn() -> &'static str, pub type_metadata: unsafe extern "C" fn() -> FfiValueRefUntyped, } impl PluginVTable { pub fn plugin_name(&self) -> &'static str { todo!() } pub fn type_metadata(&self) -> FfiValueRefUntyped { todo!() } }