Module macro_tools::typ
source · Expand description
Advanced syntax elements.
Re-exports§
pub use super::super::typ;
Modules§
- Exposed namespace of the module.
- Orphan namespace of the module.
- Own namespace of the module.
- Prelude to use essentials:
use my_module::prelude::*
.
Functions§
- Checks if a given
syn::Type
is anOption
type. - Extracts the first generic parameter from a given
syn::Type
if any exists. - Return the specified number of parameters of the type.
- Check is the rightmost item of path refering a type is specified type.