Struct minetest_protocol::wire::types::MinimapMode
source · pub struct MinimapMode {
pub typ: u16,
pub label: String,
pub size: u16,
pub texture: String,
pub scale: u16,
}
Fields§
§typ: u16
§label: String
§size: u16
§texture: String
§scale: u16
Trait Implementations§
source§impl Clone for MinimapMode
impl Clone for MinimapMode
source§fn clone(&self) -> MinimapMode
fn clone(&self) -> MinimapMode
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 MinimapMode
impl Debug for MinimapMode
source§impl Deserialize for MinimapMode
impl Deserialize for MinimapMode
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<MinimapMode> for MinimapMode
impl PartialEq<MinimapMode> for MinimapMode
source§fn eq(&self, other: &MinimapMode) -> bool
fn eq(&self, other: &MinimapMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.