pub struct EmptyContext;Expand description
A context that yields nothing. Can be useful for testing.
Trait Implementations§
Source§impl Clone for EmptyContext
impl Clone for EmptyContext
Source§fn clone(&self) -> EmptyContext
fn clone(&self) -> EmptyContext
Returns a duplicate of the value. Read more
1.0.0 · 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 EmptyContext
impl Debug for EmptyContext
impl Context for EmptyContext
impl Copy for EmptyContext
Auto Trait Implementations§
impl Freeze for EmptyContext
impl RefUnwindSafe for EmptyContext
impl Send for EmptyContext
impl Sync for EmptyContext
impl Unpin for EmptyContext
impl UnwindSafe for EmptyContext
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