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