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: String
The WIT identifier name of this world.
docs: Docs
Documentation 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: DocumentId
The document that owns this world.