pub trait UnwrapIdent {
// Required method
fn unwrap_ident(&self) -> Ident;
}Expand description
Conversion to an Ident.
This is primarily an ergonomic aid, and SHOULD NOT be used on untrusted inputs.
Required Methods§
Sourcefn unwrap_ident(&self) -> Ident
fn unwrap_ident(&self) -> Ident
§Panics
- Implementors may decide to panic.