[][src]Trait kay::Actor

pub trait Actor: Compact + StorageAware + 'static {
    type ID: TypedID;
    fn id(&self) -> Self::ID;
unsafe fn set_id(&mut self, id: RawID); fn id_as<TargetID: TraitIDFrom<Self>>(&self) -> TargetID { ... } }

Associated Types

type ID: TypedID

Loading content...

Required methods

fn id(&self) -> Self::ID

unsafe fn set_id(&mut self, id: RawID)

Loading content...

Provided methods

fn id_as<TargetID: TraitIDFrom<Self>>(&self) -> TargetID

Loading content...

Implementors

Loading content...