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