Trait ProcessCss

Source
pub trait ProcessCss:
    ParseCss
    + Send
    + Sync
    + NonLocalValue
    + ValueDebug {
    // Required methods
    fn get_css_with_placeholder(self: Vc<Self>) -> Vc<CssWithPlaceholderResult>
       where Self: Sized;
    fn finalize_css(
        self: Vc<Self>,
        chunking_context: Vc<Box<dyn ChunkingContext>>,
        minify_type: MinifyType,
    ) -> Vc<FinalCssResult>
       where Self: Sized;
}

Required Methods§

Source

fn get_css_with_placeholder(self: Vc<Self>) -> Vc<CssWithPlaceholderResult>
where Self: Sized,

Source

fn finalize_css( self: Vc<Self>, chunking_context: Vc<Box<dyn ChunkingContext>>, minify_type: MinifyType, ) -> Vc<FinalCssResult>
where Self: Sized,

Trait Implementations§

Source§

impl VcValueTrait for Box<dyn ProcessCss>

Source§

type ValueTrait = dyn ProcessCss

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 ParseCss>> for Box<dyn ProcessCss>

Source§

impl Dynamic<Box<dyn ProcessCss>> for Box<dyn ProcessCss>

Source§

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

Source§

impl Upcast<Box<dyn ParseCss>> for Box<dyn ProcessCss>

Source§

impl Upcast<Box<dyn ProcessCss>> for Box<dyn ProcessCss>

Source§

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

Implementors§