SwiftDocCVersionStructureVersionAn arbitrary-length version tuple.struct VersionTopicsInitializersinit(arrayLiteral: Int...)Creates a new version with the given components.init(from: any Decoder) throwsinit?(versionString: String)Creates a new version from the given string representation.Instance Propertiesvar description: StringThe string representation of the version.var endIndex: IntThe end index of the version-components tuple.var startIndex: IntThe start index of the version-components tuple.Instance Methodsfunc encode(to: any Encoder) throwsSubscriptssubscript(Int) -> IntReturns the version component at the given index.