TryIntoJs

Derive Macro TryIntoJs 

Source
#[derive(TryIntoJs)]
{
    // Attributes available to this derive:
    #[boa]
}
Expand description

Derives the TryIntoJs trait, with the #[boa()] attribute.

ยงPanics

It will panic if the user tries to derive the TryIntoJs trait in an enum or a tuple struct.