Struct minetest_protocol::wire::types::SkyboxParams
source · pub struct SkyboxParams {
pub bgcolor: SColor,
pub typ: String,
pub clouds: bool,
pub fog_sun_tint: SColor,
pub fog_moon_tint: SColor,
pub fog_tint_type: String,
pub textures: Option<Array16<String>>,
pub sky_color: Option<SkyColor>,
pub body_orbit_tilt: Option<f32>,
}
Fields§
§bgcolor: SColor
§typ: String
§clouds: bool
§fog_sun_tint: SColor
§fog_moon_tint: SColor
§fog_tint_type: String
§textures: Option<Array16<String>>
§sky_color: Option<SkyColor>
§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 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 Debug for SkyboxParams
impl Debug for SkyboxParams
source§impl Deserialize for SkyboxParams
impl Deserialize for SkyboxParams
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<SkyboxParams> for SkyboxParams
impl PartialEq<SkyboxParams> for SkyboxParams
source§fn eq(&self, other: &SkyboxParams) -> bool
fn eq(&self, other: &SkyboxParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.