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