Struct minetest_protocol::wire::command::CloudParamsSpec
source · pub struct CloudParamsSpec {
pub density: f32,
pub color_bright: SColor,
pub color_ambient: SColor,
pub height: f32,
pub thickness: f32,
pub speed: v2f,
}
Fields§
§density: f32
§color_bright: SColor
§color_ambient: SColor
§height: f32
§thickness: f32
§speed: v2f
Trait Implementations§
source§impl Clone for CloudParamsSpec
impl Clone for CloudParamsSpec
source§fn clone(&self) -> CloudParamsSpec
fn clone(&self) -> CloudParamsSpec
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 CloudParamsSpec
impl Debug for CloudParamsSpec
source§impl Deserialize for CloudParamsSpec
impl Deserialize for CloudParamsSpec
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl From<CloudParamsSpec> for ToClientCommand
impl From<CloudParamsSpec> for ToClientCommand
source§fn from(value: CloudParamsSpec) -> Self
fn from(value: CloudParamsSpec) -> Self
Converts to this type from the input type.
source§impl PartialEq<CloudParamsSpec> for CloudParamsSpec
impl PartialEq<CloudParamsSpec> for CloudParamsSpec
source§fn eq(&self, other: &CloudParamsSpec) -> bool
fn eq(&self, other: &CloudParamsSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.