pub struct AssociatedTypeEquals<Type, Value>(pub Type, pub Value);Expand description
Renders as Type=Value. Intended to be used as a type argument, to specify associated types.
Tuple Fields§
§0: Type§1: ValueTrait Implementations§
Source§impl<Type: Clone, Value: Clone> Clone for AssociatedTypeEquals<Type, Value>
impl<Type: Clone, Value: Clone> Clone for AssociatedTypeEquals<Type, Value>
Source§fn clone(&self) -> AssociatedTypeEquals<Type, Value>
fn clone(&self) -> AssociatedTypeEquals<Type, Value>
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 moreAuto Trait Implementations§
impl<Type, Value> Freeze for AssociatedTypeEquals<Type, Value>
impl<Type, Value> RefUnwindSafe for AssociatedTypeEquals<Type, Value>where
Type: RefUnwindSafe,
Value: RefUnwindSafe,
impl<Type, Value> Send for AssociatedTypeEquals<Type, Value>
impl<Type, Value> Sync for AssociatedTypeEquals<Type, Value>
impl<Type, Value> Unpin for AssociatedTypeEquals<Type, Value>
impl<Type, Value> UnwindSafe for AssociatedTypeEquals<Type, Value>where
Type: UnwindSafe,
Value: 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