Skip to main content

InspectablePerformance

Trait InspectablePerformance 

Source
pub trait InspectablePerformance: IGameMode {
    type InspectPerformance<'a>;

    // Required method
    fn inspect_performance<'a>(
        perf: &'a Self::Performance<'_>,
        attrs: &'a Self::DifficultyAttributes,
    ) -> Self::InspectPerformance<'a>;
}

Required Associated Types§

Required Methods§

Source

fn inspect_performance<'a>( perf: &'a Self::Performance<'_>, attrs: &'a Self::DifficultyAttributes, ) -> Self::InspectPerformance<'a>

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§