Module typ

Source
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::Type is an Option type.
parameter_first
Extracts the first generic parameter from a given syn::Type if 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.