pub trait EcmascriptChunkPlaceable:
ChunkableModule
+ Module
+ Asset
+ Send
+ Sync
+ NonLocalValue
+ ValueDebug {
// Required method
fn get_exports(self: Vc<Self>) -> Vc<EcmascriptExports>
where Self: Sized;
// Provided methods
fn get_async_module(self: Vc<Self>) -> Vc<OptionAsyncModule>
where Self: Sized { ... }
fn is_marked_as_side_effect_free(
self: Vc<Self>,
side_effect_free_packages: Vc<Glob>,
) -> Vc<bool>
where Self: Sized { ... }
}
Required Methods§
fn get_exports(self: Vc<Self>) -> Vc<EcmascriptExports>where
Self: Sized,
Provided Methods§
fn get_async_module(self: Vc<Self>) -> Vc<OptionAsyncModule>where
Self: Sized,
fn is_marked_as_side_effect_free(
self: Vc<Self>,
side_effect_free_packages: Vc<Glob>,
) -> Vc<bool>where
Self: Sized,
Trait Implementations§
Source§impl VcValueTrait for Box<dyn EcmascriptChunkPlaceable>
impl VcValueTrait for Box<dyn EcmascriptChunkPlaceable>
type ValueTrait = dyn EcmascriptChunkPlaceable
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.