#[repr(C)]pub struct BGSDirectionalAmbientLightingColors {
pub directional: Directional,
pub specular: Color,
pub fresnel_power: f32,
}
Expand description
Represents the ambient lighting colors with specular and fresnel power.
Fields§
§directional: Directional
§specular: Color
§fresnel_power: f32
Trait Implementations§
Source§impl Clone for BGSDirectionalAmbientLightingColors
impl Clone for BGSDirectionalAmbientLightingColors
Source§fn clone(&self) -> BGSDirectionalAmbientLightingColors
fn clone(&self) -> BGSDirectionalAmbientLightingColors
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for BGSDirectionalAmbientLightingColors
impl PartialEq for BGSDirectionalAmbientLightingColors
Source§fn eq(&self, other: &BGSDirectionalAmbientLightingColors) -> bool
fn eq(&self, other: &BGSDirectionalAmbientLightingColors) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for BGSDirectionalAmbientLightingColors
impl StructuralPartialEq for BGSDirectionalAmbientLightingColors
Auto Trait Implementations§
impl Freeze for BGSDirectionalAmbientLightingColors
impl RefUnwindSafe for BGSDirectionalAmbientLightingColors
impl Send for BGSDirectionalAmbientLightingColors
impl Sync for BGSDirectionalAmbientLightingColors
impl Unpin for BGSDirectionalAmbientLightingColors
impl UnwindSafe for BGSDirectionalAmbientLightingColors
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more