Struct wit_parser::Package
source · pub struct Package {
pub name: String,
pub url: Option<String>,
pub documents: IndexMap<String, DocumentId>,
}
Fields§
§name: String
Locally-known name of this package.
url: Option<String>
Optionally-specified URL of this package, must be specified for remote dependencies.
documents: IndexMap<String, DocumentId>
Documents contained within this package, organized by name.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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