Trait Control

Source
pub trait Control:
    Clone
    + Sized
    + From<ReprType>
    + AsRef<ReprType>
    + Debug {
    type Payload;
    type Builtin: Id<Self>;

    // Provided method
    fn fun<E: Id<Self>>(self) -> Fun<Self::Payload> { ... }
}
Expand description

A primitive control callback index with associated payload and built-in control callback IDs

Required Associated Types§

Provided Methods§

Source

fn fun<E: Id<Self>>(self) -> Fun<Self::Payload>

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§