This repository was archived by the owner on Oct 17, 2021. It is now read-only.
  
  
  - 
                Notifications
    You must be signed in to change notification settings 
- Fork 31
GenericRequirement_Relation
        mattt edited this page Mar 28, 2020 
        ·
        6 revisions
      
    A relation between the two types identified in the generic requirement.
public enum RelationFor example,
the declaration struct S<T: Equatable>
has a single generic requirement
that the type identified by "T"
conforms to the type identified by "Equatable".
Codable, Hashable, String
The identifier for the left-hand side type.
let leftTypeIdentifier: StringThe relation between the two identified types.
let relation: Relationvar description: StringThe identifier for the right-hand side type.
let rightTypeIdentifier: StringCreates and returns generic requirements initialized from a generic requirement list syntax node.
public static func genericRequirements(from node: GenericRequirementListSyntax?) -> [GenericRequirement]- from: The generic requirement list syntax node, or nil.
An array of generic requirements, or nil if the node is nil.
Generated at 2020-08-02T12:14:07+0000 using swift-doc 1.0.0-beta.3.
Types
- AssociatedType
- Attribute
- Attribute.Argument
- Class
- ConditionalCompilationBlock
- ConditionalCompilationBlock.Branch
- DeclarationCollector
- Deinitializer
- Enumeration
- Enumeration.Case
- Extension
- Function
- Function.Parameter
- Function.Signature
- GenericParameter
- GenericRequirement
- GenericRequirement.Relation
- Import
- Initializer
- Modifier
- Operator
- Operator.Kind
- PrecedenceGroup
- PrecedenceGroup.Associativity
- PrecedenceGroup.Relation
- Protocol
- Structure
- Subscript
- Typealias
- Variable
- Variable.Accessor
- Variable.Accessor.Kind