Enumerationswiftwasm.webapikit 0.1.0DOM
Path2D_or_String
Generated.swift:22984enum Path2D_or_String
enum Path2D_or_String
import DOM
case path2D(Path2D)
case string(String)
protocol Any_Path2D_or_String : ConvertibleToJSValue
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
static func construct(from value: JSValue) -> Self?
var jsValue: JSValue { get }
var path2D: Path2D? { get }
var string: String? { get }
func jsValue() -> JSValue