We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TryFromJs
The neon::extract::TryFromJs trait was introduced in #1024 as standardized and ergonomic way of extract Rust values from JavaScript.
neon::extract::TryFromJs
Allowing users to implement TryFromJs gives the power of cx.args() and automatic conversions in export macros to user defined types.
cx.args()
Questions to answer prior to stabilization:
Error
TryIntoJs
Result<Self, Self::Error>: ResultExt
from_js
The text was updated successfully, but these errors were encountered:
Sealed
No branches or pull requests
The
neon::extract::TryFromJs
trait was introduced in #1024 as standardized and ergonomic way of extract Rust values from JavaScript.Allowing users to implement
TryFromJs
gives the power ofcx.args()
and automatic conversions in export macros to user defined types.Questions to answer prior to stabilization:
Error
type (e.g.,TryIntoJs
orResult<Self, Self::Error>: ResultExt
)?from_js
?The text was updated successfully, but these errors were encountered: