SwiftDocCVariantCollectionVariantCollection.VariantStructureVariantCollection.VariantA variant for a render node value.struct VariantTopicsInitializersinit(traits: [RenderNode.Variant.Trait], patch: [VariantPatchOperation<Value>])Creates an override value for the given traits.Instance Propertiesvar patch: [VariantPatchOperation<Value>]The patch to apply as part of the override.var traits: [RenderNode.Variant.Trait]The traits associated with the override.Instance Methodsfunc mapPatch<TransformedValue>((Value) -> TransformedValue) -> VariantCollection<TransformedValue>.VariantReturns a new variant collection containing the traits of this variant collection with the values transformed by the given closure.