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 AmbientColorfn clone(&self) -> AmbientColor[src]
fn clone(&self) -> AmbientColorReturns 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 AmbientColorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for AmbientColor[src]
impl Default for AmbientColorfn default() -> AmbientColor[src]
fn default() -> AmbientColorReturns the "default value" for a type. Read more
impl AsRef<Rgba> for AmbientColor[src]
impl AsRef<Rgba> for AmbientColorimpl<'a> PrefabData<'a> for AmbientColor[src]
impl<'a> PrefabData<'a> for AmbientColortype 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 AmbientColorimpl Sync for AmbientColor
impl Sync for AmbientColor