Enumsยง
- UseGlobal
Prefix ๐
Functionsยง
- add_
display_ ๐constraint_ to_ type_ predicate - Add a requirement for core::fmt::Display to a
wherepredicate for some type. - append_
where_ ๐clause_ type_ predicate - Push
new_type_predicateonto the end ofwhere_clause. - derive ๐
- ensure_
display_ ๐in_ where_ clause_ for_ type - Hygienically add
where _: Displayto the set of TypeParamBounds forident, creating such a set if necessary. - ensure_
where_ ๐clause_ has_ display_ for_ all_ unconstrained_ members - For all declared type parameters, add a core::fmt::Display constraint, unless the type parameter already has any type constraint.
- extract_
trait_ ๐constraints_ from_ source - Map each declared generic type parameter to the set of all trait boundaries declared on it.
- generate_
where_ ๐clause - Generate a
whereclause that ensures all generic type parametersimplcore::fmt::Display unless already constrained. - impl_
enum ๐ - impl_
struct ๐ - join_
paths ๐ - Create a path with segments composed of [Idents] without any PathArguments.
- new_
empty_ ๐where_ clause - Create a
whereclause that we can add WherePredicates to. - new_
empty_ ๐where_ type_ predicate - Create a
wherepredicate forident, without any bounds yet. - specialization ๐