ModuleHandle

Trait ModuleHandle 

Source
pub trait ModuleHandle {
    type Library: Library;

    // Required method
    fn get(&self) -> &Module<Self::Library>;
}
Available on crate feature module only.
Expand description

Represents a handle to a Module stored in the application’s ModuleLoader.

Required Associated Types§

Source

type Library: Library

The type of Library to return.

Required Methods§

Source

fn get(&self) -> &Module<Self::Library>

Returns a reference to the stored Module type.

Implementors§