pub struct SingularContext<V>(pub V);Expand description
A context that provides only the tuple value
Tuple Fields§
§0: VTrait Implementations§
Source§impl<V: Clone> Clone for SingularContext<V>
impl<V: Clone> Clone for SingularContext<V>
Source§fn clone(&self) -> SingularContext<V>
fn clone(&self) -> SingularContext<V>
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<V> ContextProvides<V> for SingularContext<V>
impl<V> ContextProvides<V> for SingularContext<V>
Source§impl<V: Debug> Debug for SingularContext<V>
impl<V: Debug> Debug for SingularContext<V>
impl<V: Debug> Context for SingularContext<V>
Auto Trait Implementations§
impl<V> Freeze for SingularContext<V>where
V: Freeze,
impl<V> RefUnwindSafe for SingularContext<V>where
V: RefUnwindSafe,
impl<V> Send for SingularContext<V>where
V: Send,
impl<V> Sync for SingularContext<V>where
V: Sync,
impl<V> Unpin for SingularContext<V>where
V: Unpin,
impl<V> UnwindSafe for SingularContext<V>where
V: UnwindSafe,
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