Struct minetest_protocol::wire::types::Inventory
source · pub struct Inventory {
pub entries: Vec<InventoryEntry>,
}Fields§
§entries: Vec<InventoryEntry>Trait Implementations§
source§impl Deserialize for Inventory
impl Deserialize for Inventory
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<Inventory> for Inventory
impl PartialEq<Inventory> for Inventory
source§impl Serialize for Inventory
impl Serialize for Inventory
Inventory is sent as a “almost” line-based text format. Unfortutely there’s no way to simplify this code, it has to mirror the way Minetest does it exactly, because it is so arbitrary.