Struct amethyst_renderer::LightPrefab [−][src]
pub struct LightPrefab { /* fields omitted */ }Prefab for lighting
Trait Implementations
impl Default for LightPrefab[src]
impl Default for LightPrefabfn default() -> LightPrefab[src]
fn default() -> LightPrefabReturns the "default value" for a type. Read more
impl Clone for LightPrefab[src]
impl Clone for LightPrefabfn clone(&self) -> LightPrefab[src]
fn clone(&self) -> LightPrefabReturns 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<'a> PrefabData<'a> for LightPrefab[src]
impl<'a> PrefabData<'a> for LightPrefabtype SystemData = (<Light as PrefabData<'a>>::SystemData, Write<'a, AmbientColor>)
SystemData needed to perform the load
type Result = ()
The result type returned by the load operation
fn load_prefab(
&self,
entity: Entity,
system_data: &mut Self::SystemData,
_: &[Entity]
) -> Result<(), PrefabError>[src]
fn load_prefab(
&self,
entity: Entity,
system_data: &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
Auto Trait Implementations
impl Send for LightPrefab
impl Send for LightPrefabimpl Sync for LightPrefab
impl Sync for LightPrefab