pub(crate) trait ControllerInternals: ClassDefinition {
// Required methods
fn common(&mut self) -> &mut CommonController;
fn reset_queue(&mut self, cx: &Context);
// Provided methods
fn from_traced_heap<'h>(
cx: &Context,
heap: &'h TracedHeap<*mut JSObject>,
) -> Result<&'h mut Self> { ... }
fn start(
&mut self,
cx: &Context,
start: Option<&Function<'_>>,
) -> ResultExc<()> { ... }
fn pull_if_needed(&mut self, cx: &Context) -> ResultExc<()> { ... }
fn clear_algorithms(&mut self) { ... }
fn error_internal(&mut self, cx: &Context, error: &Value<'_>) -> Result<()> { ... }
}Required Methods§
fn common(&mut self) -> &mut CommonController
fn reset_queue(&mut self, cx: &Context)
Provided Methods§
fn from_traced_heap<'h>( cx: &Context, heap: &'h TracedHeap<*mut JSObject>, ) -> Result<&'h mut Self>
fn start(&mut self, cx: &Context, start: Option<&Function<'_>>) -> ResultExc<()>
fn pull_if_needed(&mut self, cx: &Context) -> ResultExc<()>
fn clear_algorithms(&mut self)
fn error_internal(&mut self, cx: &Context, error: &Value<'_>) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.