Enum espr::ir::TypeDecl [−][src]
pub enum TypeDecl {
Simple(Simple),
Rename(Rename),
Enumeration(Enumeration),
Select(Select),
}Variants
Simple(Simple)Tuple Fields of Simple
0: SimpleRename(Rename)Tuple Fields of Rename
0: RenameEnumeration(Enumeration)Tuple Fields of Enumeration
0: EnumerationSelect(Select)Tuple Fields of Select
0: SelectImplementations
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