[][src]Trait kay::TraitIDFrom

pub trait TraitIDFrom<A: Actor>: TypedID {
    fn from(id: <A as Actor>::ID) -> Self { ... }
}

A marker that an actor implements a trait and thus its ID can be converted to the corresponding actor trait ID

Provided methods

fn from(id: <A as Actor>::ID) -> Self

Convert from actor ID to trait ID

Loading content...

Implementors

Loading content...