Skip to main content

Kinds

Trait Kinds 

Source
pub trait Kinds {
    const NAMES: &'static [&'static str];
}
Expand description

One kind or several ((Item, Block)): what a reference field takes.

Required Associated Constants§

Source

const NAMES: &'static [&'static str]

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<A: Kind, B: Kind, C: Kind> Kinds for (A, B, C)

Source§

const NAMES: &'static [&'static str]

Source§

impl<A: Kind, B: Kind> Kinds for (A, B)

Source§

const NAMES: &'static [&'static str]

Implementors§

Source§

impl<K: Kind> Kinds for K

Source§

const NAMES: &'static [&'static str]