Trait CssEmbed

Source
pub trait CssEmbed:
    Module
    + Asset
    + Send
    + Sync
    + NonLocalValue
    + ValueDebug {
    // Required method
    fn embedded_asset(
        self: Vc<Self>,
        chunking_context: Vc<Box<dyn ChunkingContext>>,
    ) -> Vc<Box<dyn OutputAsset>>
       where Self: Sized;
}

Required Methods§

Source

fn embedded_asset( self: Vc<Self>, chunking_context: Vc<Box<dyn ChunkingContext>>, ) -> Vc<Box<dyn OutputAsset>>
where Self: Sized,

Trait Implementations§

Source§

impl VcValueTrait for Box<dyn CssEmbed>

Source§

type ValueTrait = dyn CssEmbed

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 CssEmbed>

Source§

impl Dynamic<Box<dyn CssEmbed>> for Box<dyn CssEmbed>

Source§

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

Source§

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

Source§

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

Source§

impl Upcast<Box<dyn CssEmbed>> for Box<dyn CssEmbed>

Source§

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

Source§

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

Implementors§