pub trait StyleModule:
Module
+ Asset
+ 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 VcValueTrait for Box<dyn StyleModule>
impl VcValueTrait for Box<dyn StyleModule>
type ValueTrait = dyn StyleModule
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.