Properties needed to generate code for a field in all the contexts
where one may appear.
The name presented to the user of the library. This will appear
in error messages and will be looked when parsing names.
The name presented to the author of the library. This will appear
in the setters or temporary variables which contain the values.
The type of the field in the input.
Returns the subset of the queried type parameters that are used by the implementing syntax element. Read more
Find all type params using uses_type_params, then clone the found values and return the set.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=.
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
Mutably borrows from an owned value. Read more