Generic Initializer

init(exactly:)

Creates an immediate scheduler time interval from a binary integer type.

Declaration

init?<T>(exactly source: T) where T : BinaryInteger

Discussion

If exactly can’t convert to an Int, the resulting time interval is nil.

Relationships

From Protocol

See Also

Creating Scheduler Time Strides

init(Int)

Creates an immediate scheduler time interval from the given time interval.

init(floatLiteral: Double)

Creates an immediate scheduler time interval from a floating-point seconds value.

init(from: Decoder)

Creates an immediate scheduler time interval by decoding from the given decoder.

init(integerLiteral: Int)

Creates an immediate scheduler time interval from an integer seconds value.