Docs.rs
pipa-js-0.1.3
pipa-js 0.1.3
Permalink
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
shenjinti
Dependencies
flate2 ^1.1
normal
optional
libc ^0.2
normal
optional
rustls ^0.23
normal
optional
rustyline ^18
normal
optional
webpki-roots ^1.0.7
normal
optional
serde_yaml ^0.9
dev
Versions
0%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
ToJS
pipa
0.1.3
ToJS
Required Methods
to_js
Implementations on Foreign Types
&str
()
Option<T>
String
bool
f64
i32
i64
Implementors
In pipa::
host::
value
pipa
::
host
::
value
Trait
ToJS
Copy item path
Source
pub trait ToJS { // Required method fn
to_js
(&self, ctx: &mut
JSContext
) ->
JSValue
; }
Required Methods
§
Source
fn
to_js
(&self, ctx: &mut
JSContext
) ->
JSValue
Implementations on Foreign Types
§
Source
§
impl
ToJS
for &
str
Source
§
fn
to_js
(&self, ctx: &mut
JSContext
) ->
JSValue
Source
§
impl
ToJS
for
bool
Source
§
fn
to_js
(&self, _ctx: &mut
JSContext
) ->
JSValue
Source
§
impl
ToJS
for
f64
Source
§
fn
to_js
(&self, _ctx: &mut
JSContext
) ->
JSValue
Source
§
impl
ToJS
for
i32
Source
§
fn
to_js
(&self, _ctx: &mut
JSContext
) ->
JSValue
Source
§
impl
ToJS
for
i64
Source
§
fn
to_js
(&self, _ctx: &mut
JSContext
) ->
JSValue
Source
§
impl
ToJS
for
()
Source
§
fn
to_js
(&self, _ctx: &mut
JSContext
) ->
JSValue
Source
§
impl
ToJS
for
String
Source
§
fn
to_js
(&self, ctx: &mut
JSContext
) ->
JSValue
Source
§
impl<T:
ToJS
>
ToJS
for
Option
<T>
Source
§
fn
to_js
(&self, ctx: &mut
JSContext
) ->
JSValue
Implementors
§