pub struct WithInference<Name>(pub Name);Expand description
Applies diamond inference to the construction of a type. Renders as Name<>.
Tuple Fields§
§0: NameTrait Implementations§
Source§impl<Name: Clone> Clone for WithInference<Name>
impl<Name: Clone> Clone for WithInference<Name>
Source§fn clone(&self) -> WithInference<Name>
fn clone(&self) -> WithInference<Name>
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<Name: Debug> Debug for WithInference<Name>
impl<Name: Debug> Debug for WithInference<Name>
Auto Trait Implementations§
impl<Name> Freeze for WithInference<Name>where
Name: Freeze,
impl<Name> RefUnwindSafe for WithInference<Name>where
Name: RefUnwindSafe,
impl<Name> Send for WithInference<Name>where
Name: Send,
impl<Name> Sync for WithInference<Name>where
Name: Sync,
impl<Name> Unpin for WithInference<Name>where
Name: Unpin,
impl<Name> UnwindSafe for WithInference<Name>where
Name: 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