Skip to main content

HasModeKind

Trait HasModeKind 

Source
pub trait HasModeKind {
    // Required method
    fn kind(&self) -> ModeKind;
}
Expand description

A trait that represents a type that has a mode kind.

Required Methods§

Source

fn kind(&self) -> ModeKind

Returns the mode kind of the implementor (most likely a Mode).

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§