[][src]Trait kay::TypedID

pub trait TypedID: Copy + Clone + Sized + Debug + Hash {
    type Target: ActorOrActorTrait;
    fn as_raw(&self) -> RawID;
fn from_raw(raw: RawID) -> Self; fn as_raw_string(&self) -> String { ... }
fn from_raw_str(raw_str: &str) -> Result<Self, ParseRawIDError> { ... }
fn local_first(world: &mut World) -> Self { ... }
fn global_first(world: &mut World) -> Self { ... }
fn local_broadcast(world: &mut World) -> Self { ... }
fn global_broadcast(world: &mut World) -> Self { ... } }

Associated Types

Loading content...

Required methods

fn as_raw(&self) -> RawID

fn from_raw(raw: RawID) -> Self

Loading content...

Provided methods

fn as_raw_string(&self) -> String

fn from_raw_str(raw_str: &str) -> Result<Self, ParseRawIDError>

fn local_first(world: &mut World) -> Self

fn global_first(world: &mut World) -> Self

fn local_broadcast(world: &mut World) -> Self

fn global_broadcast(world: &mut World) -> Self

Loading content...

Implementors

Loading content...