Initializer
init(traits:kind:language:relativePresentationURL:title:abstract:taskGroups:usr:plainTextDeclaration:subheadingDeclarationFragments:navigatorDeclarationFragments:)
Creates a new summary variant with the values that are different from the main summarized values.
init(traits: [RenderNode.Variant.Trait], kind: Optional<DocumentationNode.Kind> = nil, language: Optional<SourceLanguage> = nil, relativePresentationURL: Optional<URL> = nil, title: Optional<String> = nil, abstract: Optional<LinkDestinationSummary.Abstract?> = nil, taskGroups: Optional<[LinkDestinationSummary.TaskGroup]?> = nil, usr: Optional<String?> = nil, plainTextDeclaration: Optional<String?> = nil, subheadingDeclarationFragments: Optional<LinkDestinationSummary.DeclarationFragments?> = nil, navigatorDeclarationFragments: Optional<LinkDestinationSummary.DeclarationFragments?> = nil)
traitsThe traits of the variant.
kindThe kind of the variant or nil if the kind is the same as the summarized element.
languageThe source language of the variant or nil if the kind is the same as the summarized element.
relativePresentationURLThe relative presentation URL of the variant or nil if the relative is the same as the summarized element.
titleThe title of the variant or nil if the title is the same as the summarized element.
abstractThe abstract of the variant or nil if the abstract is the same as the summarized element.
taskGroupsThe taskGroups of the variant or nil if the taskGroups is the same as the summarized element.
usrThe precise symbol identifier of the variant or nil if the precise symbol identifier is the same as the summarized element.
plainTextDeclarationThe 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.
subheadingDeclarationFragmentsThe simplified “subheading” declaration fragments for this symbol, to display in topic groups, or nil if the declaration is the same as the summarized element.
navigatorDeclarationFragmentsThe simplified “navigator” declaration fragments for this symbol, to display in navigation, or nil if the declaration is the same as the summarized element.