Type Definition js::jsval::JSVal [] [src]

type JSVal = Value;

Methods

impl JSVal
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl FromJSValConvertible for JSVal
[src]

Optional configurable behaviour switch; use () for no configuration.

[src]

Convert val to type Self. Optional configuration of type T can be passed as the option argument. If it returns Err(()), a JSAPI exception is pending. If it returns Ok(Failure(reason)), there is no pending JSAPI exception. Read more

impl ToJSValConvertible for JSVal
[src]

[src]

Convert self to a JSVal. JSAPI failure causes a panic.