pub trait DebuggerGlobalScopeMethods<D: DomTypes> {
// Required methods
fn NotifyNewSource(&self, args: &NotifyNewSource);
fn EvalResult(&self, event: &D::DebuggerEvalEvent, result: &EvalResult);
fn ListFramesResult(&self, frameActorId: Vec<DOMString>);
fn GetPossibleBreakpointsResult(
&self,
event: &D::DebuggerGetPossibleBreakpointsEvent,
result: Vec<RecommendedBreakpointLocation>,
);
fn PauseAndRespond(
&self,
pipelineId: &PipelineIdInit,
frameOffset: &FrameOffset,
pauseReason: &PauseReason,
);
fn RegisterFrameActor(
&self,
pipelineId: &PipelineIdInit,
result: &FrameInfo,
) -> Option<DOMString>;
fn RegisterEnvironmentActor(
&self,
result: &EnvironmentInfo,
parent: Option<DOMString>,
actor: Option<DOMString>,
) -> Option<DOMString>;
fn GetEnvironmentResult(&self, environmentActorId: DOMString);
}Required Methods§
fn NotifyNewSource(&self, args: &NotifyNewSource)
fn EvalResult(&self, event: &D::DebuggerEvalEvent, result: &EvalResult)
fn ListFramesResult(&self, frameActorId: Vec<DOMString>)
fn GetPossibleBreakpointsResult( &self, event: &D::DebuggerGetPossibleBreakpointsEvent, result: Vec<RecommendedBreakpointLocation>, )
fn PauseAndRespond( &self, pipelineId: &PipelineIdInit, frameOffset: &FrameOffset, pauseReason: &PauseReason, )
fn RegisterFrameActor( &self, pipelineId: &PipelineIdInit, result: &FrameInfo, ) -> Option<DOMString>
fn RegisterEnvironmentActor( &self, result: &EnvironmentInfo, parent: Option<DOMString>, actor: Option<DOMString>, ) -> Option<DOMString>
fn GetEnvironmentResult(&self, environmentActorId: DOMString)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".