Struct wit_parser::Remap
source · pub struct Remap {
pub types: Vec<Option<TypeId>>,
pub interfaces: Vec<Option<InterfaceId>>,
pub worlds: Vec<Option<WorldId>>,
pub packages: Vec<PackageId>,
/* private fields */
}
Expand description
Structure returned by Resolve::merge
which contains mappings from
old-ids to new-ids after the merge.
Fields§
§types: Vec<Option<TypeId>>
§interfaces: Vec<Option<InterfaceId>>
§worlds: Vec<Option<WorldId>>
§packages: Vec<PackageId>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Remap
impl RefUnwindSafe for Remap
impl Send for Remap
impl Sync for Remap
impl Unpin for Remap
impl UnwindSafe for Remap
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