Trait ModuleMetadata

Source
pub trait ModuleMetadata {
    const NAME: &'static CStr;
}
Expand description

Metadata attached to a Module or InPlaceModule.

Required Associated Constants§

Source

const NAME: &'static CStr

The name of the module as specified in the module! macro.

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§