     init(_ t10: T10)
     func infer() -> T10?
 }
+
+/// Construct a `OneOf10Type` from T10.
+@inlinable public func oneOf<T: OneOf10Type>(_ value: T.T10) -> T { .init(value) }
 
 public extension OneOf10Type {
     @inlinable var v10: T10? { get { return infer() } set { if let newValue = newValue { self = Self.init(newValue)} } }

    init(_ t7: T7)
    func infer() -> T7?
}

public extension OneOf7Type {
    @inlinable var v7: T7? { get { return infer() } set { if let newValue = newValue { self = Self.init(newValue)} } }

    init(_ t8: T8)
    func infer() -> T8?
}

/// Construct a `OneOf8Type` from T8.
@inlinable public func oneOf<T: OneOf8Type>(_ value: T.T8) -> T { .init(value) }

public extension OneOf8Type {
    @inlinable var v8: T8? { get { return infer() } set { if let newValue = newValue { self = Self.init(newValue)} } }
