EcmascriptChunkPlaceable

Trait EcmascriptChunkPlaceable 

Source
pub trait EcmascriptChunkPlaceable:
    ChunkableModule
    + Module
    + Asset
    + Send
    + Sync
    + NonLocalValue
    + ValueDebug {
    // Required method
    fn get_exports(self: Vc<Self>) -> Vc<EcmascriptExports>
       where Self: Sized;

    // Provided method
    fn get_async_module(self: Vc<Self>) -> Vc<OptionAsyncModule>
       where Self: Sized { ... }
}

Required Methods§

Source

fn get_exports(self: Vc<Self>) -> Vc<EcmascriptExports>
where Self: Sized,

Provided Methods§

Source

fn get_async_module(self: Vc<Self>) -> Vc<OptionAsyncModule>
where Self: Sized,

Trait Implementations§

Source§

impl VcValueTrait for Box<dyn EcmascriptChunkPlaceable>

Source§

type ValueTrait = dyn EcmascriptChunkPlaceable

Source§

fn get_trait_type_id() -> TraitTypeId

Returns the type id of the trait object.
Source§

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.
Source§

impl Dynamic<Box<dyn Asset>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl Dynamic<Box<dyn ChunkableModule>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl Dynamic<Box<dyn EcmascriptChunkPlaceable>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl Dynamic<Box<dyn Module>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl Dynamic<Box<dyn ValueDebug>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl Upcast<Box<dyn Asset>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl Upcast<Box<dyn ChunkableModule>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl Upcast<Box<dyn EcmascriptChunkPlaceable>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl Upcast<Box<dyn Module>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl Upcast<Box<dyn ValueDebug>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl UpcastStrict<Box<dyn Asset>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl UpcastStrict<Box<dyn ChunkableModule>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl UpcastStrict<Box<dyn Module>> for Box<dyn EcmascriptChunkPlaceable>

Source§

impl UpcastStrict<Box<dyn ValueDebug>> for Box<dyn EcmascriptChunkPlaceable>

Implementors§