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