Struct wit_parser::World
source · pub struct World {
pub name: String,
pub docs: Docs,
pub default: Option<Interface>,
pub imports: IndexMap<String, Interface>,
pub exports: IndexMap<String, Interface>,
}
Fields
name: String
docs: Docs
default: Option<Interface>
imports: IndexMap<String, Interface>
exports: IndexMap<String, Interface>
Implementations
Trait Implementations
impl StructuralPartialEq for World
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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