pub struct ClassBuilder { /* private fields */ }Expand description
Builder for creating class sets
Implementations§
Source§impl ClassBuilder
impl ClassBuilder
Sourcepub fn classes(self, classes: impl IntoIterator<Item = String>) -> Self
pub fn classes(self, classes: impl IntoIterator<Item = String>) -> Self
Add multiple base classes
Sourcepub fn responsive(
self,
breakpoint: Breakpoint,
class: impl Into<String>,
) -> Self
pub fn responsive( self, breakpoint: Breakpoint, class: impl Into<String>, ) -> Self
Add a responsive class
Sourcepub fn conditional(
self,
condition: impl Into<String>,
class: impl Into<String>,
) -> Self
pub fn conditional( self, condition: impl Into<String>, class: impl Into<String>, ) -> Self
Add a conditional class
Sourcepub fn custom(
self,
property: impl Into<String>,
value: impl Into<String>,
) -> Self
pub fn custom( self, property: impl Into<String>, value: impl Into<String>, ) -> Self
Add a custom CSS property
Sourcepub fn custom_variant(
self,
variant: impl Into<String>,
class: impl Into<String>,
) -> Self
pub fn custom_variant( self, variant: impl Into<String>, class: impl Into<String>, ) -> Self
Add a custom variant class (Tailwind v4.1.13 @custom-variant support)
Sourcepub fn aria(
self,
aria_attr: impl Into<String>,
class: impl Into<String>,
) -> Self
pub fn aria( self, aria_attr: impl Into<String>, class: impl Into<String>, ) -> Self
Add an ARIA variant class
Sourcepub fn data(
self,
data_attr: impl Into<String>,
value: Option<String>,
class: impl Into<String>,
) -> Self
pub fn data( self, data_attr: impl Into<String>, value: Option<String>, class: impl Into<String>, ) -> Self
Add a data variant class
Sourcepub fn supports(
self,
feature: impl Into<String>,
class: impl Into<String>,
) -> Self
pub fn supports( self, feature: impl Into<String>, class: impl Into<String>, ) -> Self
Add a supports variant class
Sourcepub fn build_string(self) -> String
pub fn build_string(self) -> String
Build the class set and convert to CSS string
Source§impl ClassBuilder
Convenience methods for space-between utilities
impl ClassBuilder
Convenience methods for space-between utilities
Source§impl ClassBuilder
Convenience methods for divide utilities
impl ClassBuilder
Convenience methods for divide utilities
Sourcepub fn divide_x_2(self) -> Self
pub fn divide_x_2(self) -> Self
Add horizontal divider between child elements with value 2
Sourcepub fn divide_x_4(self) -> Self
pub fn divide_x_4(self) -> Self
Add horizontal divider between child elements with value 4
Sourcepub fn divide_y_2(self) -> Self
pub fn divide_y_2(self) -> Self
Add vertical divider between child elements with value 2
Sourcepub fn divide_y_4(self) -> Self
pub fn divide_y_4(self) -> Self
Add vertical divider between child elements with value 4
Source§impl ClassBuilder
impl ClassBuilder
Sourcepub fn typography(
&mut self,
family: Option<FontFamily>,
size: Option<FontSize>,
weight: Option<FontWeight>,
align: Option<TextAlign>,
line_height: Option<LineHeight>,
letter_spacing: Option<LetterSpacing>,
) -> &mut Self
pub fn typography( &mut self, family: Option<FontFamily>, size: Option<FontSize>, weight: Option<FontWeight>, align: Option<TextAlign>, line_height: Option<LineHeight>, letter_spacing: Option<LetterSpacing>, ) -> &mut Self
Apply comprehensive typography styling
Trait Implementations§
Source§impl AdvancedPluginSystemConvenience for ClassBuilder
impl AdvancedPluginSystemConvenience for ClassBuilder
Source§fn plugin_utility(self) -> Self
fn plugin_utility(self) -> Self
Set utility plugin
Source§fn plugin_component(self) -> Self
fn plugin_component(self) -> Self
Set component plugin
Source§fn plugin_base(self) -> Self
fn plugin_base(self) -> Self
Set base plugin
Source§fn plugin_variant(self) -> Self
fn plugin_variant(self) -> Self
Set variant plugin
Source§fn plugin_high_priority(self) -> Self
fn plugin_high_priority(self) -> Self
Set high priority plugin
Source§fn plugin_critical_priority(self) -> Self
fn plugin_critical_priority(self) -> Self
Set critical priority plugin
Source§fn plugin_enabled(self) -> Self
fn plugin_enabled(self) -> Self
Set enabled plugin
Source§fn plugin_disabled(self) -> Self
fn plugin_disabled(self) -> Self
Set disabled plugin
Source§fn plugin_merge(self) -> Self
fn plugin_merge(self) -> Self
Set merge composition
Source§fn plugin_extend(self) -> Self
fn plugin_extend(self) -> Self
Set extend composition
Source§fn plugin_initialize(self) -> Self
fn plugin_initialize(self) -> Self
Set initialize lifecycle
Source§fn plugin_execute(self) -> Self
fn plugin_execute(self) -> Self
Set execute lifecycle
Source§impl AdvancedPluginSystemUtilities for ClassBuilder
impl AdvancedPluginSystemUtilities for ClassBuilder
Source§fn plugin_type(self, plugin_type: PluginType) -> Self
fn plugin_type(self, plugin_type: PluginType) -> Self
Set plugin type
Source§fn plugin_priority(self, priority: PluginPriority) -> Self
fn plugin_priority(self, priority: PluginPriority) -> Self
Set plugin priority
Source§fn plugin_config(self, config: PluginConfig) -> Self
fn plugin_config(self, config: PluginConfig) -> Self
Set plugin configuration
Source§fn plugin_composition(self, composition: PluginComposition) -> Self
fn plugin_composition(self, composition: PluginComposition) -> Self
Set plugin composition
Source§fn plugin_lifecycle(self, lifecycle: PluginLifecycle) -> Self
fn plugin_lifecycle(self, lifecycle: PluginLifecycle) -> Self
Set plugin lifecycle
Source§impl AlignContentUtilities for ClassBuilder
impl AlignContentUtilities for ClassBuilder
fn align_content(self, align: AlignContent) -> Self
Source§impl AlignItemsUtilities for ClassBuilder
impl AlignItemsUtilities for ClassBuilder
fn align_items(self, align: AlignItems) -> Self
Source§impl AlignSelfUtilities for ClassBuilder
impl AlignSelfUtilities for ClassBuilder
fn align_self(self, align: AlignSelf) -> Self
Source§impl AnimationUtilities for ClassBuilder
impl AnimationUtilities for ClassBuilder
fn animation(self, animation: Animation) -> Self
Source§fn animation_with_duration(self, animation: Animation, duration_ms: u32) -> Self
fn animation_with_duration(self, animation: Animation, duration_ms: u32) -> Self
Add animation with custom duration
Source§fn animation_once(self, animation: Animation) -> Self
fn animation_once(self, animation: Animation) -> Self
Add animation that runs only once
Source§fn animation_repeat(self, animation: Animation, count: u32) -> Self
fn animation_repeat(self, animation: Animation, count: u32) -> Self
Add animation that repeats a specific number of times
Source§fn slide_in_left(self) -> Self
fn slide_in_left(self) -> Self
Add slide in from left animation
Source§fn slide_in_right(self) -> Self
fn slide_in_right(self) -> Self
Add slide in from right animation
Source§fn slide_in_top(self) -> Self
fn slide_in_top(self) -> Self
Add slide in from top animation
Source§fn slide_in_bottom(self) -> Self
fn slide_in_bottom(self) -> Self
Add slide in from bottom animation
Source§fn hover_animation(self, animation: Animation) -> Self
fn hover_animation(self, animation: Animation) -> Self
Add hover animation (animation only on hover)
Source§fn focus_animation(self, animation: Animation) -> Self
fn focus_animation(self, animation: Animation) -> Self
Add focus animation (animation only on focus)
Source§fn animation_pause(self) -> Self
fn animation_pause(self) -> Self
Pause animation
Source§fn animation_resume(self) -> Self
fn animation_resume(self) -> Self
Resume animation
Source§impl ArbitraryValueUtilities for ClassBuilder
impl ArbitraryValueUtilities for ClassBuilder
Source§fn arbitrary_value(
self,
property: impl Into<String>,
value: impl Into<String>,
) -> Self
fn arbitrary_value( self, property: impl Into<String>, value: impl Into<String>, ) -> Self
Add an arbitrary value class
Source§fn w_arbitrary(self, value: impl Into<String>) -> Self
fn w_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary width
Source§fn h_arbitrary(self, value: impl Into<String>) -> Self
fn h_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary height
Source§fn p_arbitrary(self, value: impl Into<String>) -> Self
fn p_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary padding
Source§fn m_arbitrary(self, value: impl Into<String>) -> Self
fn m_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary margin
Source§fn bg_arbitrary(self, value: impl Into<String>) -> Self
fn bg_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary background color
Source§fn text_arbitrary(self, value: impl Into<String>) -> Self
fn text_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary text color
Source§fn border_arbitrary(self, value: impl Into<String>) -> Self
fn border_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary border color
Source§fn text_size_arbitrary(self, value: impl Into<String>) -> Self
fn text_size_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary font size
Source§fn leading_arbitrary(self, value: impl Into<String>) -> Self
fn leading_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary line height
Source§fn tracking_arbitrary(self, value: impl Into<String>) -> Self
fn tracking_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary letter spacing
Source§fn rounded_arbitrary(self, value: impl Into<String>) -> Self
fn rounded_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary border radius
Source§fn shadow_arbitrary(self, value: impl Into<String>) -> Self
fn shadow_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary shadow
Source§fn opacity_arbitrary(self, value: impl Into<String>) -> Self
fn opacity_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary opacity
Source§fn z_arbitrary(self, value: impl Into<String>) -> Self
fn z_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary z-index
Source§fn top_arbitrary(self, value: impl Into<String>) -> Self
fn top_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary top position
Source§fn right_arbitrary(self, value: impl Into<String>) -> Self
fn right_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary right position
Source§fn bottom_arbitrary(self, value: impl Into<String>) -> Self
fn bottom_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary bottom position
Source§fn left_arbitrary(self, value: impl Into<String>) -> Self
fn left_arbitrary(self, value: impl Into<String>) -> Self
Add arbitrary left position
Source§impl AspectRatioUtilities for ClassBuilder
impl AspectRatioUtilities for ClassBuilder
fn aspect_ratio(self, aspect_ratio: AspectRatio) -> Self
Source§impl BackdropFilterUtilities for ClassBuilder
impl BackdropFilterUtilities for ClassBuilder
fn backdrop_blur(self, blur: BackdropBlur) -> Self
fn backdrop_brightness(self, brightness: BackdropBrightness) -> Self
fn backdrop_contrast(self, contrast: BackdropContrast) -> Self
fn backdrop_grayscale(self, grayscale: BackdropGrayscale) -> Self
fn backdrop_hue_rotate(self, hue_rotate: BackdropHueRotate) -> Self
fn backdrop_invert(self, invert: BackdropInvert) -> Self
fn backdrop_opacity(self, opacity: BackdropOpacity) -> Self
fn backdrop_saturate(self, saturate: BackdropSaturate) -> Self
fn backdrop_sepia(self, sepia: BackdropSepia) -> Self
Source§impl BackgroundAttachmentUtilities for ClassBuilder
impl BackgroundAttachmentUtilities for ClassBuilder
fn background_attachment(self, attachment: BackgroundAttachment) -> Self
Source§impl BackgroundBlendModeUtilities for ClassBuilder
impl BackgroundBlendModeUtilities for ClassBuilder
fn background_blend_mode(self, mode: BackgroundBlendMode) -> Self
Source§impl BackgroundClipUtilities for ClassBuilder
impl BackgroundClipUtilities for ClassBuilder
fn background_clip(self, clip: BackgroundClip) -> Self
Source§impl BackgroundColorUtilities for ClassBuilder
impl BackgroundColorUtilities for ClassBuilder
fn background_color(self, color: Color) -> Self
fn background_color_palette_shade( self, palette: ColorPalette, shade: ColorShade, ) -> Self
Source§impl BackgroundImageUtilities for ClassBuilder
impl BackgroundImageUtilities for ClassBuilder
fn background_image(self, image: BackgroundImage) -> Self
Source§impl BackgroundOriginUtilities for ClassBuilder
impl BackgroundOriginUtilities for ClassBuilder
fn background_origin(self, origin: BackgroundOrigin) -> Self
Source§impl BackgroundPositionUtilities for ClassBuilder
impl BackgroundPositionUtilities for ClassBuilder
fn background_position(self, position: BackgroundPosition) -> Self
Source§impl BackgroundRepeatUtilities for ClassBuilder
impl BackgroundRepeatUtilities for ClassBuilder
fn background_repeat(self, repeat: BackgroundRepeat) -> Self
Source§impl BackgroundSizeUtilities for ClassBuilder
impl BackgroundSizeUtilities for ClassBuilder
fn background_size(self, size: BackgroundSize) -> Self
Source§impl BlurUtilities for ClassBuilder
impl BlurUtilities for ClassBuilder
Source§impl BorderColorUtilities for ClassBuilder
impl BorderColorUtilities for ClassBuilder
fn border_color(self, color: Color) -> Self
fn border_color_palette_shade( self, palette: ColorPalette, shade: ColorShade, ) -> Self
Source§impl BorderRadiusUtilities for ClassBuilder
impl BorderRadiusUtilities for ClassBuilder
fn border_radius(self, radius: BorderRadius) -> Self
fn border_radius_t(self, radius: BorderRadius) -> Self
fn border_radius_r(self, radius: BorderRadius) -> Self
fn border_radius_b(self, radius: BorderRadius) -> Self
fn border_radius_l(self, radius: BorderRadius) -> Self
fn border_radius_tl(self, radius: BorderRadius) -> Self
fn border_radius_tr(self, radius: BorderRadius) -> Self
fn border_radius_br(self, radius: BorderRadius) -> Self
fn border_radius_bl(self, radius: BorderRadius) -> Self
Source§impl BorderStyleUtilities for ClassBuilder
impl BorderStyleUtilities for ClassBuilder
fn border_style(self, style: BorderStyle) -> Self
Source§impl BorderWidthUtilities for ClassBuilder
impl BorderWidthUtilities for ClassBuilder
fn border_width(self, width: BorderWidth) -> Self
fn border_width_x(self, width: BorderWidth) -> Self
fn border_width_y(self, width: BorderWidth) -> Self
fn border_width_t(self, width: BorderWidth) -> Self
fn border_width_r(self, width: BorderWidth) -> Self
fn border_width_b(self, width: BorderWidth) -> Self
fn border_width_l(self, width: BorderWidth) -> Self
Source§impl BoxShadowUtilities for ClassBuilder
impl BoxShadowUtilities for ClassBuilder
fn box_shadow(self, shadow: BoxShadow) -> Self
Source§impl BrightnessUtilities for ClassBuilder
impl BrightnessUtilities for ClassBuilder
fn brightness(self, brightness: Brightness) -> Self
Source§impl ClearUtilities for ClassBuilder
impl ClearUtilities for ClassBuilder
Source§impl Clone for ClassBuilder
impl Clone for ClassBuilder
Source§fn clone(&self) -> ClassBuilder
fn clone(&self) -> ClassBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ContrastUtilities for ClassBuilder
impl ContrastUtilities for ClassBuilder
Source§impl CssNestingConvenience for ClassBuilder
impl CssNestingConvenience for ClassBuilder
Source§fn nested_hover(self, class: &str) -> Self
fn nested_hover(self, class: &str) -> Self
Set nested hover class
Source§fn nested_focus(self, class: &str) -> Self
fn nested_focus(self, class: &str) -> Self
Set nested focus class
Source§fn nested_active(self, class: &str) -> Self
fn nested_active(self, class: &str) -> Self
Set nested active class
Source§fn nested_first_child(self, class: &str) -> Self
fn nested_first_child(self, class: &str) -> Self
Set nested first child class
Source§fn nested_last_child(self, class: &str) -> Self
fn nested_last_child(self, class: &str) -> Self
Set nested last child class
Source§fn nested_dark(self, class: &str) -> Self
fn nested_dark(self, class: &str) -> Self
Set nested dark mode class
Source§fn nested_light(self, class: &str) -> Self
fn nested_light(self, class: &str) -> Self
Set nested light mode class
Source§impl CssNestingUtilities for ClassBuilder
impl CssNestingUtilities for ClassBuilder
Source§fn nesting_selector(self, selector: NestingSelector) -> Self
fn nesting_selector(self, selector: NestingSelector) -> Self
Set nesting selector
Source§fn nesting_pseudo_class(self, pseudo_class: NestingPseudoClass) -> Self
fn nesting_pseudo_class(self, pseudo_class: NestingPseudoClass) -> Self
Set nesting pseudo-class
Source§fn nesting_media_query(self, media_query: NestingMediaQuery) -> Self
fn nesting_media_query(self, media_query: NestingMediaQuery) -> Self
Set nesting media query
Source§fn nested_class(self, selector: NestingSelector, class: &str) -> Self
fn nested_class(self, selector: NestingSelector, class: &str) -> Self
Set nested class with selector
Source§fn nested_pseudo_class(
self,
pseudo_class: NestingPseudoClass,
class: &str,
) -> Self
fn nested_pseudo_class( self, pseudo_class: NestingPseudoClass, class: &str, ) -> Self
Set nested class with pseudo-class
Source§fn nested_media_query(self, media_query: NestingMediaQuery, class: &str) -> Self
fn nested_media_query(self, media_query: NestingMediaQuery, class: &str) -> Self
Set nested class with media query
Source§impl CursorUtilities for ClassBuilder
impl CursorUtilities for ClassBuilder
Source§impl DarkModeVariantUtilities for ClassBuilder
impl DarkModeVariantUtilities for ClassBuilder
Source§fn dark_hover(self, class: impl Into<String>) -> Self
fn dark_hover(self, class: impl Into<String>) -> Self
Add a dark mode hover variant
Source§fn dark_focus(self, class: impl Into<String>) -> Self
fn dark_focus(self, class: impl Into<String>) -> Self
Add a dark mode focus variant
Source§fn dark_active(self, class: impl Into<String>) -> Self
fn dark_active(self, class: impl Into<String>) -> Self
Add a dark mode active variant
Source§fn dark_disabled(self, class: impl Into<String>) -> Self
fn dark_disabled(self, class: impl Into<String>) -> Self
Add a dark mode disabled variant
Source§fn dark_checked(self, class: impl Into<String>) -> Self
fn dark_checked(self, class: impl Into<String>) -> Self
Add a dark mode checked variant
Source§fn dark_group_hover(self, class: impl Into<String>) -> Self
fn dark_group_hover(self, class: impl Into<String>) -> Self
Add a dark mode group hover variant
Source§fn dark_group_focus(self, class: impl Into<String>) -> Self
fn dark_group_focus(self, class: impl Into<String>) -> Self
Add a dark mode group focus variant
Source§fn dark_border(self, color: impl Into<String>) -> Self
fn dark_border(self, color: impl Into<String>) -> Self
Add a dark mode border color
Source§fn dark_hover_bg(self, color: impl Into<String>) -> Self
fn dark_hover_bg(self, color: impl Into<String>) -> Self
Add a dark mode hover background color
Source§fn dark_hover_text(self, color: impl Into<String>) -> Self
fn dark_hover_text(self, color: impl Into<String>) -> Self
Add a dark mode hover text color
Source§fn dark_focus_bg(self, color: impl Into<String>) -> Self
fn dark_focus_bg(self, color: impl Into<String>) -> Self
Add a dark mode focus background color
Source§fn dark_focus_text(self, color: impl Into<String>) -> Self
fn dark_focus_text(self, color: impl Into<String>) -> Self
Add a dark mode focus text color
Source§impl Debug for ClassBuilder
impl Debug for ClassBuilder
Source§impl Default for ClassBuilder
impl Default for ClassBuilder
Source§impl DisplayUtilities for ClassBuilder
impl DisplayUtilities for ClassBuilder
Source§impl DivideUtilities for ClassBuilder
impl DivideUtilities for ClassBuilder
fn divide_width(self, width: DivideWidth) -> Self
fn divide_width_x(self, width: DivideWidth) -> Self
fn divide_width_y(self, width: DivideWidth) -> Self
fn divide_style(self, style: DivideStyle) -> Self
Source§impl DropShadowUtilities for ClassBuilder
impl DropShadowUtilities for ClassBuilder
fn drop_shadow(self, shadow: DropShadow) -> Self
fn drop_shadow_red(self) -> Self
fn drop_shadow_blue(self) -> Self
fn drop_shadow_green(self) -> Self
fn drop_shadow_yellow(self) -> Self
fn drop_shadow_purple(self) -> Self
fn drop_shadow_pink(self) -> Self
fn drop_shadow_orange(self) -> Self
fn drop_shadow_indigo(self) -> Self
fn drop_shadow_cyan(self) -> Self
fn drop_shadow_teal(self) -> Self
fn drop_shadow_lime(self) -> Self
fn drop_shadow_emerald(self) -> Self
fn drop_shadow_rose(self) -> Self
fn drop_shadow_violet(self) -> Self
fn drop_shadow_fuchsia(self) -> Self
fn drop_shadow_sky(self) -> Self
fn drop_shadow_amber(self) -> Self
fn drop_shadow_stone(self) -> Self
fn drop_shadow_neutral(self) -> Self
fn drop_shadow_zinc(self) -> Self
fn drop_shadow_gray(self) -> Self
fn drop_shadow_slate(self) -> Self
Source§impl EnhancedBackdropFilterUtilities for ClassBuilder
impl EnhancedBackdropFilterUtilities for ClassBuilder
Source§fn backdrop_blur_none(self) -> Self
fn backdrop_blur_none(self) -> Self
Set backdrop blur to none
Source§fn backdrop_blur_sm(self) -> Self
fn backdrop_blur_sm(self) -> Self
Set backdrop blur to small
Source§fn backdrop_blur(self) -> Self
fn backdrop_blur(self) -> Self
Set backdrop blur to default
Source§fn backdrop_blur_md(self) -> Self
fn backdrop_blur_md(self) -> Self
Set backdrop blur to medium
Source§fn backdrop_blur_lg(self) -> Self
fn backdrop_blur_lg(self) -> Self
Set backdrop blur to large
Source§fn backdrop_blur_xl(self) -> Self
fn backdrop_blur_xl(self) -> Self
Set backdrop blur to extra large
Source§fn backdrop_blur_2xl(self) -> Self
fn backdrop_blur_2xl(self) -> Self
Set backdrop blur to 2XL
Source§fn backdrop_blur_3xl(self) -> Self
fn backdrop_blur_3xl(self) -> Self
Set backdrop blur to 3XL
Source§fn backdrop_blur_custom(self, blur: EnhancedBackdropBlur) -> Self
fn backdrop_blur_custom(self, blur: EnhancedBackdropBlur) -> Self
Set backdrop blur with custom value
Source§impl EnhancedValidationConvenience for ClassBuilder
impl EnhancedValidationConvenience for ClassBuilder
Source§fn validation_required(self) -> Self
fn validation_required(self) -> Self
Set required validation
Source§fn validation_pattern(self, pattern: &str) -> Self
fn validation_pattern(self, pattern: &str) -> Self
Set pattern validation
Source§fn validation_length(self, min: usize, max: usize) -> Self
fn validation_length(self, min: usize, max: usize) -> Self
Set length validation
Source§fn validation_range(self, min: f64, max: f64) -> Self
fn validation_range(self, min: f64, max: f64) -> Self
Set range validation
Source§fn validation_error(self) -> Self
fn validation_error(self) -> Self
Set error severity
Source§fn validation_warning(self) -> Self
fn validation_warning(self) -> Self
Set warning severity
Source§fn validation_info(self) -> Self
fn validation_info(self) -> Self
Set info severity
Source§fn validation_success(self) -> Self
fn validation_success(self) -> Self
Set success severity
Source§fn validation_global(self) -> Self
fn validation_global(self) -> Self
Set global scope
Source§fn validation_local(self) -> Self
fn validation_local(self) -> Self
Set local scope
Source§fn validation_component(self) -> Self
fn validation_component(self) -> Self
Set component scope
Source§fn validation_page(self) -> Self
fn validation_page(self) -> Self
Set page scope
Source§fn validation_strict(self) -> Self
fn validation_strict(self) -> Self
Set strict mode
Source§fn validation_loose(self) -> Self
fn validation_loose(self) -> Self
Set loose mode
Source§fn validation_custom_mode(self) -> Self
fn validation_custom_mode(self) -> Self
Set custom mode
Source§fn validation_disabled(self) -> Self
fn validation_disabled(self) -> Self
Set disabled mode
Source§fn validation_valid(self) -> Self
fn validation_valid(self) -> Self
Set valid result
Source§fn validation_invalid(self, message: &str) -> Self
fn validation_invalid(self, message: &str) -> Self
Set invalid result
Source§fn validation_warning_result(self, message: &str) -> Self
fn validation_warning_result(self, message: &str) -> Self
Set warning result
Source§fn validation_info_result(self, message: &str) -> Self
fn validation_info_result(self, message: &str) -> Self
Set info result
Source§impl EnhancedValidationUtilities for ClassBuilder
impl EnhancedValidationUtilities for ClassBuilder
Source§fn validation_rule(self, rule: ValidationRule) -> Self
fn validation_rule(self, rule: ValidationRule) -> Self
Set validation rule
Source§fn validation_severity(self, severity: ValidationSeverity) -> Self
fn validation_severity(self, severity: ValidationSeverity) -> Self
Set validation severity
Source§fn validation_scope(self, scope: ValidationScope) -> Self
fn validation_scope(self, scope: ValidationScope) -> Self
Set validation scope
Source§fn validation_mode(self, mode: ValidationMode) -> Self
fn validation_mode(self, mode: ValidationMode) -> Self
Set validation mode
Source§fn validation_result(self, result: ValidationResult) -> Self
fn validation_result(self, result: ValidationResult) -> Self
Set validation result
Source§impl FlexBasisUtilities for ClassBuilder
impl FlexBasisUtilities for ClassBuilder
fn flex_basis(self, basis: FlexBasis) -> Self
Source§impl FlexDirectionUtilities for ClassBuilder
impl FlexDirectionUtilities for ClassBuilder
fn flex_direction(self, direction: FlexDirection) -> Self
Source§impl FlexGrowUtilities for ClassBuilder
impl FlexGrowUtilities for ClassBuilder
Source§impl FlexShrinkUtilities for ClassBuilder
impl FlexShrinkUtilities for ClassBuilder
fn flex_shrink(self, shrink: FlexShrink) -> Self
Source§impl FlexUtilities for ClassBuilder
impl FlexUtilities for ClassBuilder
Source§impl FlexWrapUtilities for ClassBuilder
impl FlexWrapUtilities for ClassBuilder
Source§impl FloatUtilities for ClassBuilder
impl FloatUtilities for ClassBuilder
Source§impl FontFamilyUtilities for ClassBuilder
impl FontFamilyUtilities for ClassBuilder
fn font_family(&mut self, family: FontFamily) -> &mut Self
fn font_sans(&mut self) -> &mut Self
fn font_serif(&mut self) -> &mut Self
fn font_mono(&mut self) -> &mut Self
Source§impl FontSizeUtilities for ClassBuilder
impl FontSizeUtilities for ClassBuilder
fn text_size(&mut self, size: FontSize) -> &mut Self
fn text_xs(&mut self) -> &mut Self
fn text_sm(&mut self) -> &mut Self
fn text_base(&mut self) -> &mut Self
fn text_lg(&mut self) -> &mut Self
fn text_xl(&mut self) -> &mut Self
fn text_2xl(&mut self) -> &mut Self
fn text_3xl(&mut self) -> &mut Self
fn text_4xl(&mut self) -> &mut Self
fn text_5xl(&mut self) -> &mut Self
fn text_6xl(&mut self) -> &mut Self
fn text_7xl(&mut self) -> &mut Self
fn text_8xl(&mut self) -> &mut Self
fn text_9xl(&mut self) -> &mut Self
Source§impl FontWeightUtilities for ClassBuilder
impl FontWeightUtilities for ClassBuilder
fn font_weight(&mut self, weight: FontWeight) -> &mut Self
fn font_thin(&mut self) -> &mut Self
fn font_extralight(&mut self) -> &mut Self
fn font_light(&mut self) -> &mut Self
fn font_normal(&mut self) -> &mut Self
fn font_medium(&mut self) -> &mut Self
fn font_semibold(&mut self) -> &mut Self
fn font_bold(&mut self) -> &mut Self
fn font_extrabold(&mut self) -> &mut Self
fn font_black(&mut self) -> &mut Self
Source§impl GapUtilities for ClassBuilder
impl GapUtilities for ClassBuilder
Source§fn gap(self, value: SpacingValue) -> Self
fn gap(self, value: SpacingValue) -> Self
Add gap between grid/flex items
Source§fn gap_x(self, value: SpacingValue) -> Self
fn gap_x(self, value: SpacingValue) -> Self
Add horizontal gap between grid/flex items
Source§fn gap_y(self, value: SpacingValue) -> Self
fn gap_y(self, value: SpacingValue) -> Self
Add vertical gap between grid/flex items
Source§impl GradientDirectionUtilities for ClassBuilder
impl GradientDirectionUtilities for ClassBuilder
fn gradient_direction(self, direction: GradientDirection) -> Self
Source§impl GradientStopUtilities for ClassBuilder
impl GradientStopUtilities for ClassBuilder
fn gradient_from(self, color: Color) -> Self
fn gradient_via(self, color: Color) -> Self
fn gradient_to(self, color: Color) -> Self
Source§impl GrayscaleUtilities for ClassBuilder
impl GrayscaleUtilities for ClassBuilder
Source§impl GridAutoColumnsUtilities for ClassBuilder
impl GridAutoColumnsUtilities for ClassBuilder
fn grid_auto_columns(self, columns: GridAutoColumns) -> Self
Source§impl GridAutoFlowUtilities for ClassBuilder
impl GridAutoFlowUtilities for ClassBuilder
fn grid_auto_flow(self, flow: GridAutoFlow) -> Self
Source§impl GridAutoRowsUtilities for ClassBuilder
impl GridAutoRowsUtilities for ClassBuilder
fn grid_auto_rows(self, rows: GridAutoRows) -> Self
Source§impl GridColumnSpanUtilities for ClassBuilder
impl GridColumnSpanUtilities for ClassBuilder
fn grid_column_span(self, span: GridColumnSpan) -> Self
Source§impl GridGapUtilities for ClassBuilder
impl GridGapUtilities for ClassBuilder
Source§impl GridPlacementUtilities for ClassBuilder
impl GridPlacementUtilities for ClassBuilder
fn grid_column_start(self, start: GridColumnStart) -> Self
fn grid_column_end(self, end: GridColumnEnd) -> Self
fn grid_row_start(self, start: GridRowStart) -> Self
fn grid_row_end(self, end: GridRowEnd) -> Self
Source§impl GridRowSpanUtilities for ClassBuilder
impl GridRowSpanUtilities for ClassBuilder
fn grid_row_span(self, span: GridRowSpan) -> Self
Source§impl GridTemplateColumnsUtilities for ClassBuilder
impl GridTemplateColumnsUtilities for ClassBuilder
fn grid_template_columns(self, columns: GridTemplateColumns) -> Self
Source§impl GridTemplateRowsUtilities for ClassBuilder
impl GridTemplateRowsUtilities for ClassBuilder
fn grid_template_rows(self, rows: GridTemplateRows) -> Self
Source§impl HeightUtilities for ClassBuilder
impl HeightUtilities for ClassBuilder
fn height(self, height: SizingValue) -> Self
Source§impl HueRotateUtilities for ClassBuilder
impl HueRotateUtilities for ClassBuilder
fn hue_rotate(self, hue_rotate: HueRotate) -> Self
Source§impl InvertUtilities for ClassBuilder
impl InvertUtilities for ClassBuilder
Source§impl IsolationUtilities for ClassBuilder
impl IsolationUtilities for ClassBuilder
Source§impl JustifyContentUtilities for ClassBuilder
impl JustifyContentUtilities for ClassBuilder
fn justify_content(self, justify: JustifyContent) -> Self
Source§impl LetterSpacingUtilities for ClassBuilder
impl LetterSpacingUtilities for ClassBuilder
fn tracking(&mut self, spacing: LetterSpacing) -> &mut Self
fn tracking_tighter(&mut self) -> &mut Self
fn tracking_tight(&mut self) -> &mut Self
fn tracking_normal(&mut self) -> &mut Self
fn tracking_wide(&mut self) -> &mut Self
fn tracking_wider(&mut self) -> &mut Self
fn tracking_widest(&mut self) -> &mut Self
Source§impl LineHeightUtilities for ClassBuilder
impl LineHeightUtilities for ClassBuilder
fn leading(&mut self, height: LineHeight) -> &mut Self
fn leading_none(&mut self) -> &mut Self
fn leading_tight(&mut self) -> &mut Self
fn leading_snug(&mut self) -> &mut Self
fn leading_normal(&mut self) -> &mut Self
fn leading_relaxed(&mut self) -> &mut Self
fn leading_loose(&mut self) -> &mut Self
fn leading_3(&mut self) -> &mut Self
fn leading_4(&mut self) -> &mut Self
fn leading_5(&mut self) -> &mut Self
fn leading_6(&mut self) -> &mut Self
fn leading_7(&mut self) -> &mut Self
fn leading_8(&mut self) -> &mut Self
fn leading_9(&mut self) -> &mut Self
fn leading_10(&mut self) -> &mut Self
Source§impl LogicalPropertiesConvenience for ClassBuilder
impl LogicalPropertiesConvenience for ClassBuilder
Source§fn margin_inline_start_4(self) -> Self
fn margin_inline_start_4(self) -> Self
Set margin inline start to 4
Source§fn margin_inline_end_4(self) -> Self
fn margin_inline_end_4(self) -> Self
Set margin inline end to 4
Source§fn padding_inline_start_2(self) -> Self
fn padding_inline_start_2(self) -> Self
Set padding inline start to 2
Source§fn padding_inline_end_2(self) -> Self
fn padding_inline_end_2(self) -> Self
Set padding inline end to 2
Source§fn border_inline_start_1(self) -> Self
fn border_inline_start_1(self) -> Self
Set border inline start to 1
Source§fn border_inline_end_1(self) -> Self
fn border_inline_end_1(self) -> Self
Set border inline end to 1
Source§fn padding_inline_start_4(self) -> Self
fn padding_inline_start_4(self) -> Self
Set padding inline start to 4
Source§fn padding_inline_end_4(self) -> Self
fn padding_inline_end_4(self) -> Self
Set padding inline end to 4
Source§fn border_inline_start_2(self) -> Self
fn border_inline_start_2(self) -> Self
Set border inline start to 2
Source§fn border_inline_end_2(self) -> Self
fn border_inline_end_2(self) -> Self
Set border inline end to 2
Source§impl LogicalPropertiesUtilities for ClassBuilder
impl LogicalPropertiesUtilities for ClassBuilder
Source§fn margin_inline_start(self, value: SpacingValue) -> Self
fn margin_inline_start(self, value: SpacingValue) -> Self
Set margin inline start
Source§fn margin_inline_end(self, value: SpacingValue) -> Self
fn margin_inline_end(self, value: SpacingValue) -> Self
Set margin inline end
Source§fn margin_block_start(self, value: SpacingValue) -> Self
fn margin_block_start(self, value: SpacingValue) -> Self
Set margin block start
Source§fn margin_block_end(self, value: SpacingValue) -> Self
fn margin_block_end(self, value: SpacingValue) -> Self
Set margin block end
Source§fn padding_inline_start(self, value: SpacingValue) -> Self
fn padding_inline_start(self, value: SpacingValue) -> Self
Set padding inline start
Source§fn padding_inline_end(self, value: SpacingValue) -> Self
fn padding_inline_end(self, value: SpacingValue) -> Self
Set padding inline end
Source§fn padding_block_start(self, value: SpacingValue) -> Self
fn padding_block_start(self, value: SpacingValue) -> Self
Set padding block start
Source§fn padding_block_end(self, value: SpacingValue) -> Self
fn padding_block_end(self, value: SpacingValue) -> Self
Set padding block end
Source§fn border_inline_start(self, value: SpacingValue) -> Self
fn border_inline_start(self, value: SpacingValue) -> Self
Set border inline start
Source§fn border_inline_end(self, value: SpacingValue) -> Self
fn border_inline_end(self, value: SpacingValue) -> Self
Set border inline end
Source§fn border_block_start(self, value: SpacingValue) -> Self
fn border_block_start(self, value: SpacingValue) -> Self
Set border block start
Source§fn border_block_end(self, value: SpacingValue) -> Self
fn border_block_end(self, value: SpacingValue) -> Self
Set border block end
Source§fn inset_inline_start(self, value: SpacingValue) -> Self
fn inset_inline_start(self, value: SpacingValue) -> Self
Set inset inline start
Source§fn inset_inline_end(self, value: SpacingValue) -> Self
fn inset_inline_end(self, value: SpacingValue) -> Self
Set inset inline end
Source§fn inset_block_start(self, value: SpacingValue) -> Self
fn inset_block_start(self, value: SpacingValue) -> Self
Set inset block start
Source§fn inset_block_end(self, value: SpacingValue) -> Self
fn inset_block_end(self, value: SpacingValue) -> Self
Set inset block end
Source§impl MarginUtilities for ClassBuilder
impl MarginUtilities for ClassBuilder
Source§fn margin(self, value: SpacingValue) -> Self
fn margin(self, value: SpacingValue) -> Self
Add margin to all sides
Source§fn margin_x(self, value: SpacingValue) -> Self
fn margin_x(self, value: SpacingValue) -> Self
Add horizontal margin (left and right)
Source§fn margin_y(self, value: SpacingValue) -> Self
fn margin_y(self, value: SpacingValue) -> Self
Add vertical margin (top and bottom)
Source§fn margin_top(self, value: SpacingValue) -> Self
fn margin_top(self, value: SpacingValue) -> Self
Add top margin
Source§fn margin_right(self, value: SpacingValue) -> Self
fn margin_right(self, value: SpacingValue) -> Self
Add right margin
Source§fn margin_bottom(self, value: SpacingValue) -> Self
fn margin_bottom(self, value: SpacingValue) -> Self
Add bottom margin
Source§fn margin_left(self, value: SpacingValue) -> Self
fn margin_left(self, value: SpacingValue) -> Self
Add left margin
Source§fn margin_start(self, value: SpacingValue) -> Self
fn margin_start(self, value: SpacingValue) -> Self
Add margin to start (left in LTR, right in RTL)
Source§fn margin_end(self, value: SpacingValue) -> Self
fn margin_end(self, value: SpacingValue) -> Self
Add margin to end (right in LTR, left in RTL)
Source§fn margin_negative(self, value: SpacingValue) -> Self
fn margin_negative(self, value: SpacingValue) -> Self
Add negative margin to all sides
Source§fn margin_x_negative(self, value: SpacingValue) -> Self
fn margin_x_negative(self, value: SpacingValue) -> Self
Add negative horizontal margin
Source§fn margin_y_negative(self, value: SpacingValue) -> Self
fn margin_y_negative(self, value: SpacingValue) -> Self
Add negative vertical margin
Source§fn margin_top_negative(self, value: SpacingValue) -> Self
fn margin_top_negative(self, value: SpacingValue) -> Self
Add negative top margin
Source§fn margin_right_negative(self, value: SpacingValue) -> Self
fn margin_right_negative(self, value: SpacingValue) -> Self
Add negative right margin
Source§fn margin_bottom_negative(self, value: SpacingValue) -> Self
fn margin_bottom_negative(self, value: SpacingValue) -> Self
Add negative bottom margin
Source§fn margin_left_negative(self, value: SpacingValue) -> Self
fn margin_left_negative(self, value: SpacingValue) -> Self
Add negative left margin
Source§impl MaskUtilities for ClassBuilder
impl MaskUtilities for ClassBuilder
Source§fn mask_alpha(self) -> Self
fn mask_alpha(self) -> Self
Set mask to alpha
Source§fn mask_luminance(self) -> Self
fn mask_luminance(self) -> Self
Set mask to luminance
Source§fn mask_repeat_none(self) -> Self
fn mask_repeat_none(self) -> Self
Set mask repeat to none
Source§fn mask_repeat(self) -> Self
fn mask_repeat(self) -> Self
Set mask repeat to default
Source§fn mask_repeat_x(self) -> Self
fn mask_repeat_x(self) -> Self
Set mask repeat to X
Source§fn mask_repeat_y(self) -> Self
fn mask_repeat_y(self) -> Self
Set mask repeat to Y
Source§fn mask_repeat_round(self) -> Self
fn mask_repeat_round(self) -> Self
Set mask repeat to round
Source§fn mask_repeat_space(self) -> Self
fn mask_repeat_space(self) -> Self
Set mask repeat to space
Source§fn mask_size_auto(self) -> Self
fn mask_size_auto(self) -> Self
Set mask size to auto
Source§fn mask_size_cover(self) -> Self
fn mask_size_cover(self) -> Self
Set mask size to cover
Source§fn mask_size_contain(self) -> Self
fn mask_size_contain(self) -> Self
Set mask size to contain
Source§fn mask_center(self) -> Self
fn mask_center(self) -> Self
Set mask position to center
Source§fn mask_bottom(self) -> Self
fn mask_bottom(self) -> Self
Set mask position to bottom
Source§fn mask_right(self) -> Self
fn mask_right(self) -> Self
Set mask position to right
Source§fn mask_top_left(self) -> Self
fn mask_top_left(self) -> Self
Set mask position to top left
Source§fn mask_top_right(self) -> Self
fn mask_top_right(self) -> Self
Set mask position to top right
Source§fn mask_bottom_left(self) -> Self
fn mask_bottom_left(self) -> Self
Set mask position to bottom left
Source§fn mask_bottom_right(self) -> Self
fn mask_bottom_right(self) -> Self
Set mask position to bottom right
Source§fn mask_clip_border(self) -> Self
fn mask_clip_border(self) -> Self
Set mask clip to border
Source§fn mask_clip_padding(self) -> Self
fn mask_clip_padding(self) -> Self
Set mask clip to padding
Source§fn mask_clip_content(self) -> Self
fn mask_clip_content(self) -> Self
Set mask clip to content
Source§fn mask_clip_text(self) -> Self
fn mask_clip_text(self) -> Self
Set mask clip to text
Source§fn mask_origin_border(self) -> Self
fn mask_origin_border(self) -> Self
Set mask origin to border
Source§fn mask_origin_padding(self) -> Self
fn mask_origin_padding(self) -> Self
Set mask origin to padding
Source§fn mask_origin_content(self) -> Self
fn mask_origin_content(self) -> Self
Set mask origin to content
Source§impl MixBlendModeUtilities for ClassBuilder
impl MixBlendModeUtilities for ClassBuilder
fn mix_blend_mode(self, mode: MixBlendMode) -> Self
Source§impl ModernCssFeaturesUtilities for ClassBuilder
impl ModernCssFeaturesUtilities for ClassBuilder
Source§fn layer_base(self) -> Self
fn layer_base(self) -> Self
Set cascade layer to base
Source§fn layer_components(self) -> Self
fn layer_components(self) -> Self
Set cascade layer to components
Source§fn layer_utilities(self) -> Self
fn layer_utilities(self) -> Self
Set cascade layer to utilities
Source§fn layer_custom(self, name: &str) -> Self
fn layer_custom(self, name: &str) -> Self
Set cascade layer with custom name
Source§fn layer_custom_value(self, layer: CascadeLayer) -> Self
fn layer_custom_value(self, layer: CascadeLayer) -> Self
Set cascade layer with custom value
Source§fn custom_property(self, name: &str, value: &str) -> Self
fn custom_property(self, name: &str, value: &str) -> Self
Set custom property with name and value
Source§fn custom_property_value(self, property: CustomProperty) -> Self
fn custom_property_value(self, property: CustomProperty) -> Self
Set custom property with custom value
Source§fn container_small(self) -> Self
fn container_small(self) -> Self
Set container query to small
Source§fn container_medium(self) -> Self
fn container_medium(self) -> Self
Set container query to medium
Source§fn container_large(self) -> Self
fn container_large(self) -> Self
Set container query to large
Source§fn container_extra_large(self) -> Self
fn container_extra_large(self) -> Self
Set container query to extra large
Source§fn container_custom(self, size: &str) -> Self
fn container_custom(self, size: &str) -> Self
Set container query with custom size
Source§fn container_custom_value(self, query: ModernContainerQuery) -> Self
fn container_custom_value(self, query: ModernContainerQuery) -> Self
Set container query with custom value
Source§impl MotionVariantUtilities for ClassBuilder
impl MotionVariantUtilities for ClassBuilder
Source§fn motion_reduce(self) -> Self
fn motion_reduce(self) -> Self
Add motion reduce variant
Source§fn motion_safe(self) -> Self
fn motion_safe(self) -> Self
Add motion safe variant
Source§impl ObjectFitUtilities for ClassBuilder
impl ObjectFitUtilities for ClassBuilder
fn object_fit(self, object_fit: ObjectFit) -> Self
Source§impl ObjectPositionUtilities for ClassBuilder
impl ObjectPositionUtilities for ClassBuilder
fn object_position(self, object_position: ObjectPosition) -> Self
Source§impl OpacityUtilities for ClassBuilder
impl OpacityUtilities for ClassBuilder
Source§impl OrderUtilities for ClassBuilder
impl OrderUtilities for ClassBuilder
Source§impl OutlineUtilities for ClassBuilder
impl OutlineUtilities for ClassBuilder
fn outline_width(self, width: OutlineWidth) -> Self
fn outline_style(self, style: OutlineStyle) -> Self
fn outline_offset(self, offset: OutlineOffset) -> Self
Source§impl OverflowUtilities for ClassBuilder
impl OverflowUtilities for ClassBuilder
Source§impl OverscrollBehaviorUtilities for ClassBuilder
impl OverscrollBehaviorUtilities for ClassBuilder
fn overscroll_behavior(self, overscroll: OverscrollBehavior) -> Self
Source§impl PaddingUtilities for ClassBuilder
impl PaddingUtilities for ClassBuilder
Source§fn padding(self, value: SpacingValue) -> Self
fn padding(self, value: SpacingValue) -> Self
Add padding to all sides
Source§fn padding_x(self, value: SpacingValue) -> Self
fn padding_x(self, value: SpacingValue) -> Self
Add horizontal padding (left and right)
Source§fn padding_y(self, value: SpacingValue) -> Self
fn padding_y(self, value: SpacingValue) -> Self
Add vertical padding (top and bottom)
Source§fn padding_top(self, value: SpacingValue) -> Self
fn padding_top(self, value: SpacingValue) -> Self
Add top padding
Source§fn padding_right(self, value: SpacingValue) -> Self
fn padding_right(self, value: SpacingValue) -> Self
Add right padding
Source§fn padding_bottom(self, value: SpacingValue) -> Self
fn padding_bottom(self, value: SpacingValue) -> Self
Add bottom padding
Source§fn padding_left(self, value: SpacingValue) -> Self
fn padding_left(self, value: SpacingValue) -> Self
Add left padding
Source§fn padding_start(self, value: SpacingValue) -> Self
fn padding_start(self, value: SpacingValue) -> Self
Add padding to start (left in LTR, right in RTL)
Source§fn padding_end(self, value: SpacingValue) -> Self
fn padding_end(self, value: SpacingValue) -> Self
Add padding to end (right in LTR, left in RTL)
Source§impl PointerEventsUtilities for ClassBuilder
impl PointerEventsUtilities for ClassBuilder
fn pointer_events(self, events: PointerEvents) -> Self
Source§impl PointerVariantUtilities for ClassBuilder
impl PointerVariantUtilities for ClassBuilder
Source§fn pointer_coarse(self) -> Self
fn pointer_coarse(self) -> Self
Add pointer coarse variant
Source§fn pointer_fine(self) -> Self
fn pointer_fine(self) -> Self
Add pointer fine variant
Source§fn any_pointer_coarse(self) -> Self
fn any_pointer_coarse(self) -> Self
Add any pointer coarse variant
Source§fn any_pointer_fine(self) -> Self
fn any_pointer_fine(self) -> Self
Add any pointer fine variant
Source§impl PositionUtilities for ClassBuilder
impl PositionUtilities for ClassBuilder
Source§impl ResizeUtilities for ClassBuilder
impl ResizeUtilities for ClassBuilder
Source§impl RingColorUtilities for ClassBuilder
impl RingColorUtilities for ClassBuilder
fn ring_color(self, color: Color) -> Self
fn ring_color_palette_shade( self, palette: ColorPalette, shade: ColorShade, ) -> Self
Source§impl RingUtilities for ClassBuilder
impl RingUtilities for ClassBuilder
fn ring_width(self, width: RingWidth) -> Self
fn ring_offset_width(self, width: RingOffsetWidth) -> Self
Source§impl RotateUtilities for ClassBuilder
impl RotateUtilities for ClassBuilder
Source§impl SaturateUtilities for ClassBuilder
impl SaturateUtilities for ClassBuilder
Source§impl ScaleUtilities for ClassBuilder
impl ScaleUtilities for ClassBuilder
Source§impl ScrollBehaviorUtilities for ClassBuilder
impl ScrollBehaviorUtilities for ClassBuilder
fn scroll_behavior(self, behavior: ScrollBehavior) -> Self
Source§impl ScrollSnapAlignUtilities for ClassBuilder
impl ScrollSnapAlignUtilities for ClassBuilder
fn scroll_snap_align(self, align: ScrollSnapAlign) -> Self
Source§impl ScrollSnapTypeUtilities for ClassBuilder
impl ScrollSnapTypeUtilities for ClassBuilder
fn scroll_snap_type(self, snap_type: ScrollSnapType) -> Self
Source§impl SepiaUtilities for ClassBuilder
impl SepiaUtilities for ClassBuilder
Source§impl SkewUtilities for ClassBuilder
impl SkewUtilities for ClassBuilder
Source§impl SpaceBetweenUtilities for ClassBuilder
impl SpaceBetweenUtilities for ClassBuilder
Source§fn space_x(self, value: SpacingValue) -> Self
fn space_x(self, value: SpacingValue) -> Self
Add horizontal space between child elements
Source§fn space_y(self, value: SpacingValue) -> Self
fn space_y(self, value: SpacingValue) -> Self
Add vertical space between child elements
Source§fn space_x_reverse(self) -> Self
fn space_x_reverse(self) -> Self
Reverse horizontal space between child elements
Source§fn space_y_reverse(self) -> Self
fn space_y_reverse(self) -> Self
Reverse vertical space between child elements
Source§impl SpacingDivideUtilities for ClassBuilder
impl SpacingDivideUtilities for ClassBuilder
Source§fn divide_x(self, value: SpacingValue) -> Self
fn divide_x(self, value: SpacingValue) -> Self
Add horizontal divider between child elements
Source§fn divide_y(self, value: SpacingValue) -> Self
fn divide_y(self, value: SpacingValue) -> Self
Add vertical divider between child elements
Source§fn divide_x_reverse(self) -> Self
fn divide_x_reverse(self) -> Self
Reverse horizontal divider between child elements
Source§fn divide_y_reverse(self) -> Self
fn divide_y_reverse(self) -> Self
Reverse vertical divider between child elements
Source§impl TextAlignUtilities for ClassBuilder
impl TextAlignUtilities for ClassBuilder
fn text_align(&mut self, align: TextAlign) -> &mut Self
fn text_left(&mut self) -> &mut Self
fn text_center(&mut self) -> &mut Self
fn text_right(&mut self) -> &mut Self
fn text_justify(&mut self) -> &mut Self
fn text_start(&mut self) -> &mut Self
fn text_end(&mut self) -> &mut Self
Source§impl TextColorUtilities for ClassBuilder
impl TextColorUtilities for ClassBuilder
fn text_color(self, color: Color) -> Self
fn text_color_palette_shade( self, palette: ColorPalette, shade: ColorShade, ) -> Self
Source§impl TextDecorationUtilities for ClassBuilder
impl TextDecorationUtilities for ClassBuilder
fn text_decoration(&mut self, decoration: TextDecoration) -> &mut Self
fn underline(&mut self) -> &mut Self
fn overline(&mut self) -> &mut Self
fn line_through(&mut self) -> &mut Self
fn no_underline(&mut self) -> &mut Self
fn decoration_style(&mut self, style: TextDecorationStyle) -> &mut Self
fn decoration_solid(&mut self) -> &mut Self
fn decoration_double(&mut self) -> &mut Self
fn decoration_dotted(&mut self) -> &mut Self
fn decoration_dashed(&mut self) -> &mut Self
fn decoration_wavy(&mut self) -> &mut Self
fn decoration_thickness( &mut self, thickness: TextDecorationThickness, ) -> &mut Self
fn decoration_auto(&mut self) -> &mut Self
fn decoration_from_font(&mut self) -> &mut Self
fn decoration_0(&mut self) -> &mut Self
fn decoration_1(&mut self) -> &mut Self
fn decoration_2(&mut self) -> &mut Self
fn decoration_4(&mut self) -> &mut Self
fn decoration_8(&mut self) -> &mut Self
fn underline_offset(&mut self, offset: TextUnderlineOffset) -> &mut Self
fn underline_offset_auto(&mut self) -> &mut Self
fn underline_offset_0(&mut self) -> &mut Self
fn underline_offset_1(&mut self) -> &mut Self
fn underline_offset_2(&mut self) -> &mut Self
fn underline_offset_4(&mut self) -> &mut Self
fn underline_offset_8(&mut self) -> &mut Self
Source§impl TextShadowUtilities for ClassBuilder
impl TextShadowUtilities for ClassBuilder
Source§fn text_shadow_none(self) -> Self
fn text_shadow_none(self) -> Self
Set text shadow to none
Source§fn text_shadow_sm(self) -> Self
fn text_shadow_sm(self) -> Self
Set text shadow to small
Source§fn text_shadow_md(self) -> Self
fn text_shadow_md(self) -> Self
Set text shadow to medium
Source§fn text_shadow(self) -> Self
fn text_shadow(self) -> Self
Set text shadow to default
Source§fn text_shadow_lg(self) -> Self
fn text_shadow_lg(self) -> Self
Set text shadow to large
Source§fn text_shadow_xl(self) -> Self
fn text_shadow_xl(self) -> Self
Set text shadow to extra large
Source§fn text_shadow_2xl(self) -> Self
fn text_shadow_2xl(self) -> Self
Set text shadow to 2XL
Source§fn text_shadow_inner(self) -> Self
fn text_shadow_inner(self) -> Self
Set text shadow to inner
Source§fn text_shadow_custom(self, shadow: TextShadow) -> Self
fn text_shadow_custom(self, shadow: TextShadow) -> Self
Set text shadow with custom value
Source§impl TextTransformUtilities for ClassBuilder
impl TextTransformUtilities for ClassBuilder
fn text_transform(&mut self, transform: TextTransform) -> &mut Self
fn uppercase(&mut self) -> &mut Self
fn lowercase(&mut self) -> &mut Self
fn capitalize(&mut self) -> &mut Self
fn normal_case(&mut self) -> &mut Self
fn text_overflow(&mut self, overflow: TextOverflow) -> &mut Self
fn truncate(&mut self) -> &mut Self
fn text_clip(&mut self) -> &mut Self
fn white_space(&mut self, whitespace: WhiteSpace) -> &mut Self
fn whitespace_normal(&mut self) -> &mut Self
fn whitespace_nowrap(&mut self) -> &mut Self
fn whitespace_pre(&mut self) -> &mut Self
fn whitespace_pre_line(&mut self) -> &mut Self
fn whitespace_pre_wrap(&mut self) -> &mut Self
fn whitespace_break_spaces(&mut self) -> &mut Self
fn word_break(&mut self, word_break: WordBreak) -> &mut Self
fn break_normal(&mut self) -> &mut Self
fn break_all(&mut self) -> &mut Self
fn break_keep(&mut self) -> &mut Self
fn break_words(&mut self) -> &mut Self
fn overflow_wrap(&mut self, wrap: OverflowWrap) -> &mut Self
fn overflow_wrap_normal(&mut self) -> &mut Self
fn overflow_wrap_break_word(&mut self) -> &mut Self
fn overflow_wrap_anywhere(&mut self) -> &mut Self
Source§impl TouchActionUtilities for ClassBuilder
impl TouchActionUtilities for ClassBuilder
fn touch_action(self, action: TouchAction) -> Self
Source§impl TransformOriginUtilities for ClassBuilder
impl TransformOriginUtilities for ClassBuilder
fn transform_origin(self, origin: TransformOrigin) -> Self
Source§impl TransitionDelayUtilities for ClassBuilder
impl TransitionDelayUtilities for ClassBuilder
fn transition_delay(self, delay: TransitionDelay) -> Self
Source§impl TransitionDurationUtilities for ClassBuilder
impl TransitionDurationUtilities for ClassBuilder
fn transition_duration(self, duration: TransitionDuration) -> Self
Source§impl TransitionPropertyUtilities for ClassBuilder
impl TransitionPropertyUtilities for ClassBuilder
fn transition_property(self, property: TransitionProperty) -> Self
Source§impl TransitionTimingFunctionUtilities for ClassBuilder
impl TransitionTimingFunctionUtilities for ClassBuilder
fn transition_timing_function(self, timing: TransitionTimingFunction) -> Self
Source§impl TranslateUtilities for ClassBuilder
impl TranslateUtilities for ClassBuilder
fn translate_x(self, translate: Translate) -> Self
fn translate_y(self, translate: Translate) -> Self
Source§impl UserSelectUtilities for ClassBuilder
impl UserSelectUtilities for ClassBuilder
fn user_select(self, select: UserSelect) -> Self
Source§impl VisibilityUtilities for ClassBuilder
impl VisibilityUtilities for ClassBuilder
fn visibility(self, visibility: Visibility) -> Self
Source§impl WidthUtilities for ClassBuilder
impl WidthUtilities for ClassBuilder
fn width(self, width: SizingValue) -> Self
Source§impl WillChangeUtilities for ClassBuilder
impl WillChangeUtilities for ClassBuilder
fn will_change(self, change: WillChange) -> Self
Source§impl ZIndexUtilities for ClassBuilder
impl ZIndexUtilities for ClassBuilder
impl TypographyUtilities for ClassBuilder
Auto Trait Implementations§
impl Freeze for ClassBuilder
impl RefUnwindSafe for ClassBuilder
impl Send for ClassBuilder
impl Sync for ClassBuilder
impl Unpin for ClassBuilder
impl UnwindSafe for ClassBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more