pub trait FromGenericParam {
    fn from_generic_param(param: &GenericParam) -> Result<Self, Error>;
}
Expand description

Creates an instance by parsing a specific syn::GenericParam. This can be a type param, a lifetime, or a const param.

Required methods

Implementations on Foreign Types

Implementors