Struct minecraft_data_rs::api::Api
source · [−]pub struct Api {
pub version: Arc<Version>,
pub items: Items,
pub recipes: Recipes,
pub enchantments: Enchantments,
pub loot: Loot,
pub blocks: Blocks,
pub foods: Foods,
pub biomes: Biomes,
pub entities: Entities,
}Expand description
A type wrapping access to all the metadata about the selected minecraft version
Fields
version: Arc<Version>items: Itemsrecipes: Recipesenchantments: Enchantmentsloot: Lootblocks: Blocksfoods: Foodsbiomes: Biomesentities: EntitiesImplementations
Auto Trait Implementations
impl RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl UnwindSafe for Api
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more