Struct amethyst_utils::tag::Tag [−][src]
pub struct Tag<T> { /* fields omitted */ }Tag component that can be used with a custom type to tag entities for processing
Trait Implementations
impl<T: Clone> Clone for Tag<T>[src]
impl<T: Clone> Clone for Tag<T>fn clone(&self) -> Tag<T>[src]
fn clone(&self) -> Tag<T>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<T: Debug> Debug for Tag<T>[src]
impl<T: Debug> Debug for Tag<T>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T> Default for Tag<T>[src]
impl<T> Default for Tag<T>impl<T> Component for Tag<T> where
T: Send + Sync + 'static, [src]
impl<T> Component for Tag<T> where
T: Send + Sync + 'static, type Storage = NullStorage<Self>
Associated storage type for this component.
impl<'a, T> PrefabData<'a> for Tag<T> where
T: Clone + Send + Sync + 'static, [src]
impl<'a, T> PrefabData<'a> for Tag<T> where
T: Clone + Send + Sync + 'static, type SystemData = WriteStorage<'a, Tag<T>>
SystemData needed to perform the load
type Result = ()
The result type returned by the load operation
fn load_prefab(
&self,
entity: Entity,
storage: &mut Self::SystemData,
_: &[Entity]
) -> Result<(), PrefabError>[src]
fn load_prefab(
&self,
entity: Entity,
storage: &mut Self::SystemData,
_: &[Entity]
) -> Result<(), PrefabError>Load the data for this prefab onto the given Entity Read more
fn trigger_sub_loading(
&mut self,
_progress: &mut ProgressCounter,
_system_data: &mut Self::SystemData
) -> Result<bool, Error>[src]
fn trigger_sub_loading(
&mut self,
_progress: &mut ProgressCounter,
_system_data: &mut Self::SystemData
) -> Result<bool, Error>Trigger asset loading for any sub assets. Read more