Trait JSContextHelper

Source
pub(crate) trait JSContextHelper {
    // Required method
    fn get_reports(
        &self,
        path_seg: String,
        ops: &mut MallocSizeOfOps,
    ) -> Vec<Report>;
}
Expand description

Extra methods for the JSContext type defined in script_bindings, when the methods are only called by code in the script crate.

Required Methods§

Source

fn get_reports( &self, path_seg: String, ops: &mut MallocSizeOfOps, ) -> Vec<Report>

Implementors§