Skip to main content

ParseCss

Trait ParseCss 

Source
pub trait ParseCss:
    Send
    + Sync
    + NonLocalValue
    + ValueDebug {
    // Required method
    fn parse_css(self: Vc<Self>) -> Vc<ParseCssResult>
       where Self: Sized;
}

Required Methods§

Source

fn parse_css(self: Vc<Self>) -> Vc<ParseCssResult>
where Self: Sized,

Trait Implementations§

Source§

impl Dynamic<Box<dyn ParseCss>> for Box<dyn ParseCss>

Source§

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

Source§

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

Available on debug-assertions enabled only.
Source§

impl TraitVtablePrototype for Box<dyn ParseCss>

Source§

const LEN: usize = 1usize

Source§

const DEFAULTS: &[Option<&NativeFunction>]

Source§

impl Upcast<Box<dyn ParseCss>> for CssModule

Source§

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

Source§

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

Source§

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

Available on debug-assertions enabled only.
Source§

impl UpcastStrict<Box<dyn ParseCss>> for CssModule

Source§

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

Source§

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

Available on debug-assertions enabled only.
Source§

impl VcValueTrait for Box<dyn ParseCss>

Source§

const IMPL_VTABLES: &'static VTableRegistry<Self::ValueTrait>

The per-trait vtable registry, populated by [crate::value_type::register_all_trait_methods] Read more
Source§

type ValueTrait = dyn ParseCss

Source§

fn get_trait_type_id() -> TraitTypeId

Returns the type id of the trait object.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ParseCss for CssModule

Source§

impl<T> ParseCss for T
where T: Dynamic<Box<dyn ParseCss>> + Send + Sync + NonLocalValue + ValueDebug,