pub struct InMemory { /* private fields */ }Expand description
Map-backed SourceTree: the test and web seam.
Built from a BTreeMap<key, source>, so list()’s sortedness falls out
of BTreeMap’s own ordering guarantee rather than an extra sort step —
the map stays sorted by key no matter what order entries were inserted
in.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InMemory
impl RefUnwindSafe for InMemory
impl Send for InMemory
impl Sync for InMemory
impl Unpin for InMemory
impl UnsafeUnpin for InMemory
impl UnwindSafe for InMemory
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