pub struct ProvideWithCloneOf<T>(pub T)
where
T: Clone;Tuple Fields§
§0: TTrait Implementations§
Source§impl<T> Clone for ProvideWithCloneOf<T>where
T: Clone,
impl<T> Clone for ProvideWithCloneOf<T>where
T: Clone,
Source§impl<T> Default for ProvideWithCloneOf<T>
impl<T> Default for ProvideWithCloneOf<T>
Source§fn default() -> ProvideWithCloneOf<T>
fn default() -> ProvideWithCloneOf<T>
Returns the “default value” for a type. Read more
Source§impl<T> Ord for ProvideWithCloneOf<T>
impl<T> Ord for ProvideWithCloneOf<T>
Source§fn cmp(&self, other: &ProvideWithCloneOf<T>) -> Ordering
fn cmp(&self, other: &ProvideWithCloneOf<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T> PartialEq for ProvideWithCloneOf<T>
impl<T> PartialEq for ProvideWithCloneOf<T>
Source§impl<T> PartialOrd for ProvideWithCloneOf<T>where
T: Clone + PartialOrd,
impl<T> PartialOrd for ProvideWithCloneOf<T>where
T: Clone + PartialOrd,
Source§impl<T> Provider for ProvideWithCloneOf<T>where
T: 'static + Clone,
impl<T> Provider for ProvideWithCloneOf<T>where
T: 'static + Clone,
Source§impl<T: Clone> ProviderMut for ProvideWithCloneOf<T>
impl<T: Clone> ProviderMut for ProvideWithCloneOf<T>
impl<T> Eq for ProvideWithCloneOf<T>
impl<T> StructuralPartialEq for ProvideWithCloneOf<T>where
T: Clone,
Auto Trait Implementations§
impl<T> Freeze for ProvideWithCloneOf<T>where
T: Freeze,
impl<T> RefUnwindSafe for ProvideWithCloneOf<T>where
T: RefUnwindSafe,
impl<T> Send for ProvideWithCloneOf<T>where
T: Send,
impl<T> Sync for ProvideWithCloneOf<T>where
T: Sync,
impl<T> Unpin for ProvideWithCloneOf<T>where
T: Unpin,
impl<T> UnwindSafe for ProvideWithCloneOf<T>where
T: 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