Derive Macro boa_engine::value::TryFromJs
source · #[derive(TryFromJs)]
{
// Attributes available to this derive:
#[boa]
}
Expand description
Derives the TryFromJs
trait, with the #[boa()]
attribute.
§Panics
It will panic if the user tries to derive the TryFromJs
trait in an enum
or a tuple struct.