pub trait CallbackContainer {
// Required method
unsafe fn new(
cx: &JSContext,
callback: *mut JSObject,
) -> RootedCallback<Self>
where Self: Sized;
}Expand description
A trait to be implemented by concrete IDL callback function and callback interface types.