pub trait IdentExt: Sealed {
// Required method
fn new_on_call_site(ident: &str) -> Ident;
}
Expand description
Extension of a syn::Ident
.
Required Methods§
sourcefn new_on_call_site(ident: &str) -> Ident
fn new_on_call_site(ident: &str) -> Ident
Creates a new syn::Ident
out of the given string value with a
Span::call_site
.