pub struct SkyboxParams {
pub bgcolor: SColor,
pub clouds: bool,
pub fog_sun_tint: SColor,
pub fog_moon_tint: SColor,
pub fog_tint_type: String,
pub data: SkyboxData,
pub body_orbit_tilt: Option<f32>,
}
Fields§
§bgcolor: SColor
§clouds: bool
§fog_sun_tint: SColor
§fog_moon_tint: SColor
§fog_tint_type: String
§data: SkyboxData
§body_orbit_tilt: Option<f32>
Trait Implementations§
Source§impl Clone for SkyboxParams
impl Clone for SkyboxParams
Source§fn clone(&self) -> SkyboxParams
fn clone(&self) -> SkyboxParams
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SkyboxParams
impl Debug for SkyboxParams
Source§impl Deserialize for SkyboxParams
impl Deserialize for SkyboxParams
Source§type Output = SkyboxParams
type Output = SkyboxParams
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl PartialEq for SkyboxParams
impl PartialEq for SkyboxParams
Source§impl Serialize for SkyboxParams
impl Serialize for SkyboxParams
type Input = SkyboxParams
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for SkyboxParams
Auto Trait Implementations§
impl Freeze for SkyboxParams
impl RefUnwindSafe for SkyboxParams
impl Send for SkyboxParams
impl Sync for SkyboxParams
impl Unpin for SkyboxParams
impl UnwindSafe for SkyboxParams
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