Trait ModuleIdentification

Source
pub trait ModuleIdentification: Sized {
    // Required method
    fn module_id(&self) -> ModuleId<'static>;
}
Expand description

Return the identifier for this module.

Required Methods§

Source

fn module_id(&self) -> ModuleId<'static>

Get the module identifier.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§