A rust to js interface. Allows interaction with rust objects/functions
from javascript.
The struct name, in Rust, this is attached to
The class name in JS this is attached to
The type of self
(either self
, &self
, or &mut self
)
Whether or not this export is flagged as a constructor, returning an
instance of the impl
type
Comments extracted from the rust source.
The name of the rust function/method on the rust side.
Whether or not this function should be flagged as the wasm start
function.
Performs copy-assignment from source
. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static