Skip to main content

Module

Trait Module 

Source
pub trait Module {
    type Context;
    type ControllerContext;
    type ControllerReturn;

    // Required method
    fn details(
        &self,
        ctx: &mut Self::Context,
    ) -> ModuleDetails<Self::Context, Self::ControllerContext, Self::ControllerReturn>;
}

Required Associated Types§

Required Methods§

Source

fn details( &self, ctx: &mut Self::Context, ) -> ModuleDetails<Self::Context, Self::ControllerContext, Self::ControllerReturn>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§