Module syn_ext::ext

source · []
Expand description

use syn_ext::ext::*; // Namespace module for extension traits.

Always try to use *. The public names here are intended to be used as * and will be changed any time.

Traits

Extension for std::iter::Iterator<[syn::Attribute]>

Shortcut to get syn::Ident from various types

Shortcut to get syn::Path from various types

Extension for syn::*Item::attrs using crate::ext::ItemLike

Extension for syn::Item

Extension for syn::ItemMod

experimental

Extension for syn::Meta

Constructs and returns map from syn::Meta iterator