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.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for World
impl Send for World
impl Sync for World
impl Unpin for World
impl UnwindSafe for World
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more