pub trait StyleModule:
Module
+ Send
+ Sync
+ NonLocalValue
+ ValueDebug {
// Required method
fn style_type(self: Vc<Self>) -> Vc<StyleType>
where Self: Sized;
}Required Methods§
Sourcefn style_type(self: Vc<Self>) -> Vc<StyleType>where
Self: Sized,
fn style_type(self: Vc<Self>) -> Vc<StyleType>where
Self: Sized,
The style type of the module.
Trait Implementations§
Source§impl TraitVtablePrototype for Box<dyn StyleModule>
impl TraitVtablePrototype for Box<dyn StyleModule>
Source§impl VcValueTrait for Box<dyn StyleModule>
impl VcValueTrait for Box<dyn StyleModule>
Source§const IMPL_VTABLES: &'static VTableRegistry<Self::ValueTrait>
const IMPL_VTABLES: &'static VTableRegistry<Self::ValueTrait>
The per-trait vtable registry, populated at program load by
#[ctor::ctor]
functions emitted by each #[turbo_tasks::value_impl] expansion. Read moretype ValueTrait = dyn StyleModule
Source§fn get_trait_type_id() -> TraitTypeId
fn get_trait_type_id() -> TraitTypeId
Returns the type id of the trait object.
impl Dynamic<Box<dyn Module>> for Box<dyn StyleModule>
impl Dynamic<Box<dyn StyleModule>> for Box<dyn StyleModule>
impl Dynamic<Box<dyn ValueDebug>> for Box<dyn StyleModule>
Available on debug-assertions enabled only.
impl Upcast<Box<dyn Module>> for Box<dyn StyleModule>
impl Upcast<Box<dyn StyleModule>> for Box<dyn StyleModule>
impl Upcast<Box<dyn ValueDebug>> for Box<dyn StyleModule>
Available on debug-assertions enabled only.
impl UpcastStrict<Box<dyn Module>> for Box<dyn StyleModule>
impl UpcastStrict<Box<dyn ValueDebug>> for Box<dyn StyleModule>
Available on debug-assertions enabled only.