OfDefaultedType
public struct OfDefaultedType<T> : PropertyTypeSpec where T : Equatable, T : Defaultable
Specifies that a Property
has type T
, and should use a default value if
the property is missing.
Internally used by Swindler. You should not use this directly.
-
Undocumented
Declaration
Swift
public typealias NonOptionalType = T
-
Declaration
Swift
public typealias PropertyType = T
-
Undocumented
Declaration
Swift
public static func equal(_ lhs: T, _ rhs: T) -> Bool
-
Undocumented
Declaration
Swift
public static func toPropertyType(_ from: T?) throws -> T
-
Undocumented
Declaration
Swift
public static func toOptionalType(_ from: T) -> T?