Trait kay::TraitIDFrom[][src]

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

Helper trait that signifies that an actor's TypedID can be converted to an actor trait TypedID if that actor implements the corresponding trait.

Provided Methods

Construct the actor trait TypedID from an actor's TypedID

Implementors