Struct minetest_protocol::wire::types::StarParams   
source · pub struct StarParams {
    pub visible: bool,
    pub count: u32,
    pub starcolor: SColor,
    pub scale: f32,
    pub day_opacity: f32,
}Fields§
§visible: bool§count: u32§starcolor: SColor§scale: f32§day_opacity: f32Trait Implementations§
source§impl Clone for StarParams
 
impl Clone for StarParams
source§fn clone(&self) -> StarParams
 
fn clone(&self) -> StarParams
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 StarParams
 
impl Debug for StarParams
source§impl Deserialize for StarParams
 
impl Deserialize for StarParams
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<StarParams> for StarParams
 
impl PartialEq<StarParams> for StarParams
source§fn eq(&self, other: &StarParams) -> bool
 
fn eq(&self, other: &StarParams) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.