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