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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.