Struct script::script_module::DynamicModuleList
source · pub(crate) struct DynamicModuleList {
requests: Vec<RootedTraceableBox<DynamicModule>>,
next_id: DynamicModuleId,
}
Fields§
§requests: Vec<RootedTraceableBox<DynamicModule>>
§next_id: DynamicModuleId
Implementations§
source§impl DynamicModuleList
impl DynamicModuleList
pub fn new() -> Self
fn push(&mut self, module: RootedTraceableBox<DynamicModule>) -> DynamicModuleId
fn remove(&mut self, id: DynamicModuleId) -> RootedTraceableBox<DynamicModule>
Trait Implementations§
source§impl JSTraceable for DynamicModuleList
impl JSTraceable for DynamicModuleList
source§impl MallocSizeOf for DynamicModuleList
impl MallocSizeOf for DynamicModuleList
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Auto Trait Implementations§
impl !RefUnwindSafe for DynamicModuleList
impl !Send for DynamicModuleList
impl !Sync for DynamicModuleList
impl Unpin for DynamicModuleList
impl !UnwindSafe for DynamicModuleList
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert