SwiftDocCLinkDestinationSummaryLinkDestinationSummary.VariantStructureLinkDestinationSummary.VariantA variant of content for a summarized element.struct VariantDiscussionNoteAll properties except for traits are optional. If a property is nil it means that the value is the same as the summarized element’s value.TopicsInitializersinit(traits: [RenderNode.Variant.Trait], kind: Optional<DocumentationNode.Kind>, language: Optional<SourceLanguage>, relativePresentationURL: Optional<URL>, title: Optional<String>, abstract: Optional<LinkDestinationSummary.Abstract?>, taskGroups: Optional<[LinkDestinationSummary.TaskGroup]?>, usr: Optional<String?>, plainTextDeclaration: Optional<String?>, declarationFragments: Optional<LinkDestinationSummary.DeclarationFragments?>, navigatorDeclarationFragments: Optional<LinkDestinationSummary.DeclarationFragments?>, topicImages: Optional<[TopicImage]?>)init(traits: [RenderNode.Variant.Trait], kind: Optional<DocumentationNode.Kind>, language: Optional<SourceLanguage>, relativePresentationURL: Optional<URL>, title: Optional<String>, abstract: Optional<LinkDestinationSummary.Abstract?>, taskGroups: Optional<[LinkDestinationSummary.TaskGroup]?>, usr: Optional<String?>, plainTextDeclaration: Optional<String?>, subheadingDeclarationFragments: Optional<LinkDestinationSummary.DeclarationFragments?>, navigatorDeclarationFragments: Optional<LinkDestinationSummary.DeclarationFragments?>)Creates a new summary variant with the values that are different from the main summarized values.Instance Propertieslet abstract: Optional<LinkDestinationSummary.Abstract?>The abstract of the variant or nil if the abstract is the same as the summarized element.var declarationFragments: Optional<LinkDestinationSummary.DeclarationFragments?>let kind: Optional<DocumentationNode.Kind>The kind of the variant or nil if the kind is the same as the summarized element.let language: Optional<SourceLanguage>The source language of the variant or nil if the kind is the same as the summarized element.let navigatorDeclarationFragments: Optional<LinkDestinationSummary.DeclarationFragments?>The simplified “navigator” declaration fragments for this symbol, or nil if the navigator title is the same as the summarized element.let plainTextDeclaration: Optional<String?>The plain text declaration of this symbol, derived from its full declaration fragments, or nil if the precise symbol identifier is the same as the summarized element.let relativePresentationURL: Optional<URL>The relative presentation URL of the variant or nil if the relative is the same as the summarized element.let subheadingDeclarationFragments: Optional<LinkDestinationSummary.DeclarationFragments?>The simplified “subheading” declaration fragments for this symbol, or nil if the declaration is the same as the summarized element.let taskGroups: Optional<[LinkDestinationSummary.TaskGroup]?>The taskGroups of the variant or nil if the taskGroups is the same as the summarized element.let title: Optional<String>The title of the variant or nil if the title is the same as the summarized element.let topicImages: Optional<[TopicImage]?>Images that are used to represent the summarized element or nil if the images are the same as the summarized element.let traits: [RenderNode.Variant.Trait]The traits of the variant.let usr: Optional<String?>The precise symbol identifier of the variant or nil if the precise symbol identifier is the same as the summarized element.Type Aliasestypealias VariantValueA wrapper for variant values that can either be specified, meaning the variant has a custom value, or not, meaning the variant has the same value as the summarized element.