pub struct MockEnvSource { /* private fields */ }Expand description
An in-memory environment for tests.
Implementations§
Trait Implementations§
Source§impl Clone for MockEnvSource
impl Clone for MockEnvSource
Source§fn clone(&self) -> MockEnvSource
fn clone(&self) -> MockEnvSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MockEnvSource
impl Debug for MockEnvSource
Source§impl Default for MockEnvSource
impl Default for MockEnvSource
Source§fn default() -> MockEnvSource
fn default() -> MockEnvSource
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MockEnvSource
impl RefUnwindSafe for MockEnvSource
impl Send for MockEnvSource
impl Sync for MockEnvSource
impl Unpin for MockEnvSource
impl UnsafeUnpin for MockEnvSource
impl UnwindSafe for MockEnvSource
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