pub trait EcmascriptChunkItem:
ChunkItem
+ Send
+ Sync
+ NonLocalValue
+ ValueDebug {
// Required method
fn content(self: Vc<Self>) -> Vc<EcmascriptChunkItemContent>
where Self: Sized;
// Provided methods
fn content_with_async_module_info(
self: Vc<Self>,
_async_module_info: Option<Vc<AsyncModuleInfo>>,
) -> Vc<EcmascriptChunkItemContent>
where Self: Sized { ... }
fn need_async_module_info(self: Vc<Self>) -> Vc<bool>
where Self: Sized { ... }
}
Required Methods§
Provided Methods§
fn content_with_async_module_info(
self: Vc<Self>,
_async_module_info: Option<Vc<AsyncModuleInfo>>,
) -> Vc<EcmascriptChunkItemContent>where
Self: Sized,
Trait Implementations§
Source§impl VcValueTrait for Box<dyn EcmascriptChunkItem>
impl VcValueTrait for Box<dyn EcmascriptChunkItem>
type ValueTrait = dyn EcmascriptChunkItem
Source§fn get_trait_type_id() -> TraitTypeId
fn get_trait_type_id() -> TraitTypeId
Returns the type id of the trait object.
Source§fn get_impl_vtables() -> &'static VTableRegistry<Self::ValueTrait>
fn get_impl_vtables() -> &'static VTableRegistry<Self::ValueTrait>
Returns the vtable for an implementation of this trait.
Panics if ValueTypeId does not implement the trait.