pub trait IdentExt {
fn new_ident_with<F, S>(&self, map: F) -> Ident
where
F: for<'a> FnOnce(&'a str) -> S,
S: AsRef<str>;
}
Expand description
Extension trait for syn::Ident.
pub trait IdentExt {
fn new_ident_with<F, S>(&self, map: F) -> Ident
where
F: for<'a> FnOnce(&'a str) -> S,
S: AsRef<str>;
}
Extension trait for syn::Ident.