Struct wit_parser::World
source · pub struct World {
pub name: String,
pub docs: Docs,
pub imports: IndexMap<String, WorldItem>,
pub exports: IndexMap<String, WorldItem>,
pub document: DocumentId,
}Fields§
§name: StringThe WIT identifier name of this world.
docs: DocsDocumentation associated with this world declaration.
imports: IndexMap<String, WorldItem>All imported items into this interface, both worlds and functions.
exports: IndexMap<String, WorldItem>All exported items from this interface, both worlds and functions.
document: DocumentIdThe document that owns this world.