Struct WithoutBounds
Source pub struct WithoutBounds<'a>();
Expand description
Display wrapper that shows generic parameters without their bounds
This is used to format just the parameter names for display purposes,
omitting any bounds information.
§Example
For a parameter like T: Clone, this will display just <T>.
Write
self to the given
TokenStream.
Read more
Convert
self directly into a
TokenStream object.
Read more
Convert
self directly into a
TokenStream object.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.