Struct tuix::common::StyleRule [−]
pub struct StyleRule {
pub selectors: Vec<Selector, Global>,
pub properties: Vec<Property, Global>,
}
Fields
selectors: Vec<Selector, Global>
properties: Vec<Property, Global>
Implementations
impl StyleRule
impl StyleRule
pub fn parent_selector(self, selector: Selector) -> StyleRule
pub fn specificity(&self) -> Specificity
pub fn set_display(self, value: Display) -> StyleRule
pub fn set_visibility(self, value: Visibility) -> StyleRule
pub fn set_overflow(self, value: Overflow) -> StyleRule
pub fn set_background_color(self, value: Color) -> StyleRule
pub fn set_background_gradient(self, value: LinearGradient) -> StyleRule
pub fn set_outer_shadow_h_offset(self, value: Units) -> StyleRule
pub fn set_outer_shadow_v_offset(self, value: Units) -> StyleRule
pub fn set_outer_shadow_color(self, value: Color) -> StyleRule
pub fn set_outer_shadow_blur(self, value: Units) -> StyleRule
pub fn set_inner_shadow_h_offset(self, value: Units) -> StyleRule
pub fn set_inner_shadow_v_offset(self, value: Units) -> StyleRule
pub fn set_inner_shadow_color(self, value: Color) -> StyleRule
pub fn set_inner_shadow_blur(self, value: Units) -> StyleRule
pub fn set_bottom(self, value: Units) -> StyleRule
pub fn set_height(self, value: Units) -> StyleRule
pub fn set_min_width(self, value: Units) -> StyleRule
pub fn set_max_width(self, value: Units) -> StyleRule
pub fn set_min_height(self, value: Units) -> StyleRule
pub fn set_max_height(self, value: Units) -> StyleRule
pub fn set_child_space(self, value: Units) -> StyleRule
pub fn set_child_left(self, value: Units) -> StyleRule
pub fn set_child_right(self, value: Units) -> StyleRule
pub fn set_child_top(self, value: Units) -> StyleRule
pub fn set_child_bottom(self, value: Units) -> StyleRule
pub fn set_border_color(self, value: Color) -> StyleRule
pub fn set_border_width(self, value: Units) -> StyleRule
pub fn set_border_radius(self, value: Units) -> StyleRule
pub fn set_border_radius_top_left(self, value: Units) -> StyleRule
pub fn set_border_radius_top_right(self, value: Units) -> StyleRule
pub fn set_border_radius_bottom_left(self, value: Units) -> StyleRule
pub fn set_border_radius_bottom_right(self, value: Units) -> StyleRule
pub fn set_font_size(self, value: f32) -> StyleRule
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StyleRule
impl UnwindSafe for StyleRule
Blanket Implementations
Mutably borrows from an owned value. Read more