pub trait IdentParser<Ident, Type, Input>: Copy {
// Required methods
fn parse_ident(self, i: Input) -> SmtRes<Ident>;
fn parse_type(self, i: Input) -> SmtRes<Type>;
}Expand description
Can parse identifiers and types. Used for get_model.
For more information refer to the module-level documentation.
Required Methods§
Sourcefn parse_ident(self, i: Input) -> SmtRes<Ident>
fn parse_ident(self, i: Input) -> SmtRes<Ident>
Parses an identifier.
Sourcefn parse_type(self, i: Input) -> SmtRes<Type>
fn parse_type(self, i: Input) -> SmtRes<Type>
Parses a type.
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.