pub struct CloneMaps { /* private fields */ }Expand description
Represents the results of cloning types and/or interfaces as part of a
Resolve::merge_worlds operation.
Implementations§
Source§impl CloneMaps
impl CloneMaps
Sourcepub fn types(&self) -> &HashMap<TypeId, TypeId>
pub fn types(&self) -> &HashMap<TypeId, TypeId>
The types cloned during a Resolve::merge_worlds operation.
The key is the original type, and the value is the clone.
Sourcepub fn interfaces(&self) -> &HashMap<InterfaceId, InterfaceId>
pub fn interfaces(&self) -> &HashMap<InterfaceId, InterfaceId>
The interfaces cloned during a Resolve::merge_worlds operation.
The key is the original interface, and the value is the clone.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CloneMaps
impl RefUnwindSafe for CloneMaps
impl Send for CloneMaps
impl Sync for CloneMaps
impl Unpin for CloneMaps
impl UnwindSafe for CloneMaps
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