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§
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>
impl VcValueTrait for Box<dyn CssEmbed>
type ValueTrait = dyn CssEmbed
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.