Skip to content

번역

이 페이지를 번역하거나 기존 번역을 개선할 수 있습니다.

기여

EXTENSION

Template.Attribute.Value

swift
extension Template.Attribute.Value: ExpressibleByStringLiteral

Methods

init(stringLiteral:)

swift
public init(stringLiteral value: String)

Parameters

NameDescription
valueThe value of the new instance.

init(integerLiteral:)

swift
public init(integerLiteral value: Int)

Parameters

NameDescription
valueThe value to create.

init(floatLiteral:)

swift
public init(floatLiteral value: Double)

Parameters

NameDescription
valueThe value to create.

init(booleanLiteral:)

swift
public init(booleanLiteral value: Bool)

Parameters

NameDescription
valueThe value of the new instance.

init(dictionaryLiteral:)

swift
public init(dictionaryLiteral elements: (String, Template.Attribute.Value)...)

init(arrayLiteral:)

swift
public init(arrayLiteral elements: Template.Attribute.Value...)

Released under the MIT License.