Struct limn_core::style::Theme
[−]
[src]
pub struct Theme { /* fields omitted */ }
Methods
impl Theme
[src]
pub fn new() -> Self
[src]
pub fn register_type_style<S: Draw + Component + 'static, T: ComponentStyle<Component = S> + Debug + Send + 'static>(
&mut self,
style: T
)
[src]
&mut self,
style: T
)
pub fn register_class_style<S: Draw + Component + 'static, T: ComponentStyle<Component = S> + Debug + Send + 'static>(
&mut self,
class: &str,
style: T
)
[src]
&mut self,
class: &str,
style: T
)
pub fn register_class_prop_style<S: Draw + Component + 'static, T: ComponentStyle<Component = S> + Debug + Send + 'static>(
&mut self,
class: &str,
props: PropSet,
style: T
)
[src]
&mut self,
class: &str,
props: PropSet,
style: T
)
ⓘImportant traits for Box<I>pub fn get_style(
&self,
widget_style: &DrawStyle,
props: PropSet
) -> Box<DrawComponentStyle>
[src]
ⓘImportant traits for Box<I>
&self,
widget_style: &DrawStyle,
props: PropSet
) -> Box<DrawComponentStyle>
pub fn register_modifier_type_style<C: Component + WidgetModifier + 'static, T: ComponentStyle<Component = C> + Debug + Send>(
&mut self,
style: T
)
[src]
&mut self,
style: T
)
pub fn register_modifier_class_style<C: Component + WidgetModifier + 'static, T: ComponentStyle<Component = C> + Debug + Send>(
&mut self,
class: &str,
style: T
)
[src]
&mut self,
class: &str,
style: T
)
ⓘImportant traits for Box<I>pub fn get_modifier_style(
&self,
style: Box<ModifierComponentStyle>,
type_id: TypeId,
class: Option<String>
) -> Box<ModifierComponentStyle>
[src]
ⓘImportant traits for Box<I>
&self,
style: Box<ModifierComponentStyle>,
type_id: TypeId,
class: Option<String>
) -> Box<ModifierComponentStyle>