mozjs
0.14.1
As
Required Methods
cast
Implementations on Foreign Types
f64
f64
f64
f64
f64
f64
f64
f64
i16
i32
i32
i32
i32
i32
i64
i64
i8
u16
u16
u32
u32
u64
u64
u8
Object Safety
Implementors
In mozjs::
conversions
Trait
mozjs
::
conversions
::
As
Copy item path
source
·
[
−
]
trait As<O>:
Copy
{ // Required method fn
cast
(self) -> O; }
Required Methods
§
source
fn
cast
(self) -> O
Object Safety
§
This trait is
not
object safe
.
Implementations on Foreign Types
§
source
§
impl
As
<
f64
> for
i8
source
§
fn
cast
(self) ->
f64
source
§
impl
As
<
f64
> for
i16
source
§
fn
cast
(self) ->
f64
source
§
impl
As
<
f64
> for
i32
source
§
fn
cast
(self) ->
f64
source
§
impl
As
<
f64
> for
i64
source
§
fn
cast
(self) ->
f64
source
§
impl
As
<
f64
> for
u8
source
§
fn
cast
(self) ->
f64
source
§
impl
As
<
f64
> for
u16
source
§
fn
cast
(self) ->
f64
source
§
impl
As
<
f64
> for
u32
source
§
fn
cast
(self) ->
f64
source
§
impl
As
<
f64
> for
u64
source
§
fn
cast
(self) ->
f64
source
§
impl
As
<
i8
> for
f64
source
§
fn
cast
(self) ->
i8
source
§
impl
As
<
i8
> for
i32
source
§
fn
cast
(self) ->
i8
source
§
impl
As
<
i16
> for
f64
source
§
fn
cast
(self) ->
i16
source
§
impl
As
<
i16
> for
i32
source
§
fn
cast
(self) ->
i16
source
§
impl
As
<
i32
> for
f64
source
§
fn
cast
(self) ->
i32
source
§
impl
As
<
i32
> for
i32
source
§
fn
cast
(self) ->
i32
source
§
impl
As
<
i64
> for
f64
source
§
fn
cast
(self) ->
i64
source
§
impl
As
<
i64
> for
i64
source
§
fn
cast
(self) ->
i64
source
§
impl
As
<
u8
> for
f64
source
§
fn
cast
(self) ->
u8
source
§
impl
As
<
u8
> for
i32
source
§
fn
cast
(self) ->
u8
source
§
impl
As
<
u16
> for
f64
source
§
fn
cast
(self) ->
u16
source
§
impl
As
<
u16
> for
u16
source
§
fn
cast
(self) ->
u16
source
§
impl
As
<
u32
> for
f64
source
§
fn
cast
(self) ->
u32
source
§
impl
As
<
u32
> for
u32
source
§
fn
cast
(self) ->
u32
source
§
impl
As
<
u64
> for
f64
source
§
fn
cast
(self) ->
u64
source
§
impl
As
<
u64
> for
u64
source
§
fn
cast
(self) ->
u64
Implementors
§