Struct amethyst_renderer::AmbientColor [−][src]
pub struct AmbientColor(pub Rgba);
The ambient color of a scene
Trait Implementations
impl Clone for AmbientColor
[src]
impl Clone for AmbientColor
fn clone(&self) -> AmbientColor
[src]
fn clone(&self) -> AmbientColor
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 Debug for AmbientColor
[src]
impl Debug for AmbientColor
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for AmbientColor
[src]
impl Default for AmbientColor
fn default() -> AmbientColor
[src]
fn default() -> AmbientColor
Returns the "default value" for a type. Read more
impl AsRef<Rgba> for AmbientColor
[src]
impl AsRef<Rgba> for AmbientColor
impl<'a> PrefabData<'a> for AmbientColor
[src]
impl<'a> PrefabData<'a> for AmbientColor
type 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,
ambient: &mut Self::SystemData,
_: &[Entity]
) -> Result<(), PrefabError>
[src]
fn load_prefab(
&self,
_: Entity,
ambient: &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 AmbientColor
impl Send for AmbientColor
impl Sync for AmbientColor
impl Sync for AmbientColor