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