[][src]Trait amethyst_core::WithNamed

pub trait WithNamed where
    Self: Sized
{ fn named<S>(self, name: S) -> Self
    where
        S: Into<Cow<'static, str>>
; }

An easy way to name an Entity and give it a Named Component.

Required methods

fn named<S>(self, name: S) -> Self where
    S: Into<Cow<'static, str>>, 

Adds a name to the entity being built.

Loading content...

Implementations on Foreign Types

impl<'a> WithNamed for EntityBuilder<'a>[src]

impl<'a> WithNamed for LazyBuilder<'a>[src]

Loading content...

Implementors

Loading content...