Struct minetest_protocol::wire::types::ToolGroupCap
source · pub struct ToolGroupCap {
pub uses: s16,
pub maxlevel: s16,
pub times: Array32<Pair<s16, f32>>,
}
Fields§
§uses: s16
§maxlevel: s16
§times: Array32<Pair<s16, f32>>
Trait Implementations§
source§impl Clone for ToolGroupCap
impl Clone for ToolGroupCap
source§fn clone(&self) -> ToolGroupCap
fn clone(&self) -> ToolGroupCap
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 ToolGroupCap
impl Debug for ToolGroupCap
source§impl Deserialize for ToolGroupCap
impl Deserialize for ToolGroupCap
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<ToolGroupCap> for ToolGroupCap
impl PartialEq<ToolGroupCap> for ToolGroupCap
source§fn eq(&self, other: &ToolGroupCap) -> bool
fn eq(&self, other: &ToolGroupCap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.