Trait synthez::IdentExt

source ·
pub trait IdentExt: Sealed {
    // Required method
    fn new_on_call_site(ident: &str) -> Ident;
}
Expand description

Extension of a syn::Ident.

Required Methods§

source

fn new_on_call_site(ident: &str) -> Ident

Creates a new syn::Ident out of the given string value with a Span::call_site.

Implementations on Foreign Types§

source§

impl Ident for Ident

Implementors§