Enum espr::ir::TypeDecl [−][src]
pub enum TypeDecl {
Simple(Simple),
Rename(Rename),
Enumeration(Enumeration),
Select(Select),
}
Variants
Simple(Simple)
Tuple Fields of Simple
0: Simple
Rename(Rename)
Tuple Fields of Rename
0: Rename
Enumeration(Enumeration)
Tuple Fields of Enumeration
0: Enumeration
Select(Select)
Tuple Fields of Select
0: Select
Implementations
Trait Implementations
fn legalize(
ns: &Namespace<'_>,
ss: &Constraints,
scope: &Scope,
type_decl: &Self::Input
) -> Result<Self, SemanticError>
Auto Trait Implementations
impl RefUnwindSafe for TypeDecl
impl UnwindSafe for TypeDecl
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more