pub trait ParseAsIdent {
// Required methods
fn parse_as_ident(&self) -> Result<Ident>;
fn parse_as_named_ident<S: AsRef<str>>(
&self,
name: S,
ignore_case: bool,
) -> Result<Ident>;
}
Required Methods§
fn parse_as_ident(&self) -> Result<Ident>
fn parse_as_named_ident<S: AsRef<str>>( &self, name: S, ignore_case: bool, ) -> Result<Ident>
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.