Enumerationswiftwasm.webapikit 0.1.0WebAudio
AudioContextState
Generated.swift:396enum AudioContextState
enum AudioContextState
import WebAudio
case suspended
case running
case closed
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.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
init?(rawValue: JSString)
init?(string: String)
static func construct(from jsValue: JSValue) -> Self?
var jsValue: JSValue { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func jsValue() -> JSValue