Required Associated Typeswift 6.0.1Swift
Magnitude
A type that can represent the absolute value of any possible value of the conforming type.
associatedtype Magnitude : Comparable, Numeric
Other requirements
Type members
init?<T>(exactly: T
) Creates a new instance from the given integer, if it can be represented exactly.
static func * (lhs: Self, rhs: Self
) -> Self Multiplies two values and produces their product.
static func *= (lhs: inout Self, rhs: Self
) Multiplies two values and stores the result in the left-hand-side variable.
Instance members
var magnitude: Self.Magnitude
The magnitude of this value.