pub struct CoreFunc<'a> {
pub span: Span,
pub id: Option<Id<'a>>,
pub name: Option<NameAnnotation<'a>>,
pub kind: CoreFuncKind<'a>,
}
Expand description
A declared core function.
This is a member of both the core alias and canon sections.
Fields§
§span: Span
Where this core func
was defined.
id: Option<Id<'a>>
An identifier that this function is resolved with (optionally) for name resolution.
name: Option<NameAnnotation<'a>>
An optional name for this function stored in the custom name
section.
kind: CoreFuncKind<'a>
The kind of core function.