EquatableDescription
public struct EquatableDescription : CoreTraitDescription
A view of Hylo.Equatable‘s declaration from the standard library.
-
The identifier of the trait declaration.
Declaration
Swift
public let decl: TraitDecl.ID -
The
infix==(_:)requirement.Declaration
Swift
public let equal: FunctionDecl.ID -
Creates an instance referring to the declaration of
Hylo.Equatableinast.Requires
The standard library must have been loaded inast.Declaration
Swift
public init(_ ast: AST)
View on GitHub