ExpressibleByIntegerLiteral

protocol ExpressibleByIntegerLiteral

Conforming types can be initialized with integer literals.

Inheritance View Protocol Hierarchy →
Associated Types
IntegerLiteralType
Import import Swift

Initializers

init(integerLiteral:) Required

Create an instance initialized to value.

Declaration

init(integerLiteral value: Self.IntegerLiteralType)