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