Expand description
Advanced syntax elements.
Modules§
- exposed
- Exposed namespace of the module.
- orphan
- Orphan namespace of the module.
- own
- Own namespace of the module.
- prelude
- Prelude to use essentials:
use my_module::prelude::*.
Functions§
- is_
optional - Checks if a given
syn::Typeis anOptiontype. - parameter_
first - Extracts the first generic parameter from a given
syn::Typeif any exists. - type_
parameters - Return the specified number of parameters of the type.
- type_
rightmost - Check is the rightmost item of path refering a type is specified type.