Trait artichoke_backend::module_registry::ModuleRegistry[][src]

pub trait ModuleRegistry {
    fn def_module<T>(&mut self, spec: Spec) -> Result<(), Error>
    where
        T: Any
;
fn module_spec<T>(&self) -> Result<Option<&Spec>, Error>
    where
        T: Any
;
fn module_of<T>(&mut self) -> Result<Option<Value>, Error>
    where
        T: Any
; fn is_module_defined<T>(&self) -> bool
    where
        T: Any
, { ... } }

Required methods

Provided methods

Implementors