pub trait Managed: TransparentNoCopyWrapper {
fn to_raw(&self) -> Local;
fn from_raw(env: Env, h: Local) -> Self;
}
Expand description
The trait of data owned by the JavaScript engine and that can only be accessed via handles.
pub trait Managed: TransparentNoCopyWrapper {
fn to_raw(&self) -> Local;
fn from_raw(env: Env, h: Local) -> Self;
}
The trait of data owned by the JavaScript engine and that can only be accessed via handles.