- SwiftDocC
- Symbol
- addSwiftExtensionConstraint(extendedModule:extendedSymbolKind:constraint:)
Instance Method
addSwiftExtensionConstraint(extendedModule:extendedSymbolKind:constraint:)
Append a new generic constraint for the given extended module
func addSwiftExtensionConstraint(extendedModule: String, extendedSymbolKind: SymbolGraph.Symbol.KindIdentifier? = nil, constraint newConstraint: SymbolGraph.Symbol.Swift.GenericConstraint)
Parameters
extendedModuleThe name of the extended module.
extendedSymbolKindThe kind of the extended symbol.
newConstraintThe new generic constraints to add.