pub struct MapResolver {
pub resolved: BTreeMap<String, String>,
pub pins: BTreeMap<String, String>,
}Expand description
In-memory resolver for tests and conformance fixtures.
Fields§
§resolved: BTreeMap<String, String>Program name → path it resolves to on the search path.
pins: BTreeMap<String, String>Program name → path recorded at install time.
Trait Implementations§
Source§impl Clone for MapResolver
impl Clone for MapResolver
Source§impl Debug for MapResolver
impl Debug for MapResolver
Source§impl Default for MapResolver
impl Default for MapResolver
Auto Trait Implementations§
impl Freeze for MapResolver
impl RefUnwindSafe for MapResolver
impl Send for MapResolver
impl Sync for MapResolver
impl Unpin for MapResolver
impl UnsafeUnpin for MapResolver
impl UnwindSafe for MapResolver
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