Skip to main content

Prop

Struct Prop 

Source
pub struct Prop { /* private fields */ }
Expand description

Property list

let prop = Prop::new().color("white").background_color("#234");
assert_eq!(String::from(prop), "color: white; background-color: #234;");

Any <string> values must be enclosed in quotes:

let prop = Prop::new()
    .font_family(r#""Liberation""#)
    .content("'new\nline'");
assert_eq!(
    String::from(prop),
    r#"font-family: "Liberation"; content: 'new\A line';"#,
);

§Property Categories

Implementations§

Source§

impl Prop

Source

pub fn new() -> Self

Make a new property list

Source

pub fn custom<'a, V>(self, name: &str, v: V) -> Self
where V: Into<Val<'a>>,

Add a custom property (variable)

let prop = Prop::new().custom("variable", "value");
assert_eq!(String::from(prop), "--variable: value;");
Source

pub fn important(self) -> Self

Add !important flag to the previous property

let prop = Prop::new().color("rebeccapurple").important();
assert_eq!(String::from(prop), "color: rebeccapurple !important;");
Source§

impl Prop

Basic Properties


Source

pub fn all<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add all property

Source

pub fn anchor_name<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add anchor-name property

Source

pub fn anchor_scope<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add anchor-scope property

Source

pub fn appearance<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add appearance property

Source

pub fn aspect_ratio<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add aspect-ratio property

Source

pub fn backdrop_filter<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add backdrop-filter property

Source

pub fn backface_visibility<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add backface-visibility property

Source

pub fn block_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add block-size property

Source

pub fn box_shadow<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add box-shadow property

Source

pub fn box_sizing<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add box-sizing property

Source

pub fn break_after<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add break-after property

Source

pub fn break_before<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add break-before property

Source

pub fn break_inside<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add break-inside property

Source

pub fn caption_side<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add caption-side property

Source

pub fn caret_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add caret-color property

Source

pub fn clear<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add clear property

Source

pub fn clip_path<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add clip-path property

Source

pub fn color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add color property

Source

pub fn color_scheme<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add color-scheme property

Source

pub fn content<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add content property

Source

pub fn counter_increment<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add counter-increment property

Source

pub fn counter_reset<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add counter-reset property

Source

pub fn counter_set<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add counter-set property

Source

pub fn cursor<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add cursor property

Source

pub fn direction<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add direction property

Source

pub fn display<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add display property

Source

pub fn empty_cells<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add empty-cells property

Source

pub fn filter<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add filter property

Source

pub fn float<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add float property

Source

pub fn gap<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add gap property

Source

pub fn hyphenate_character<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add hyphenate-character property

Source

pub fn hyphens<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add hyphens property

Source

pub fn image_orientation<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add image-orientation property

Source

pub fn image_rendering<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add image-rendering property

Source

pub fn inline_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add inline-size property

Source

pub fn isolation<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add isolation property

Source

pub fn letter_spacing<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add letter-spacing property

Source

pub fn line_break<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add line-break property

Source

pub fn line_height<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add line-height property

Source

pub fn list_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add list-style property

Source

pub fn list_style_image<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add list-style-image property

Source

pub fn list_style_position<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add list-style-position property

Source

pub fn list_style_type<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add list-style-type property

Source

pub fn max_block_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add max-block-size property

Source

pub fn max_inline_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add max-inline-size property

Source

pub fn min_block_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add min-block-size property

Source

pub fn min_inline_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add min-inline-size property

Source

pub fn mix_blend_mode<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add mix-blend-mode property

Source

pub fn object_fit<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add object-fit property

Source

pub fn object_position<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add object-position property

Source

pub fn opacity<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add opacity property

Source

pub fn order<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add order property

Source

pub fn overflow<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add overflow property

Source

pub fn overflow_block<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add overflow-block property

Source

pub fn overflow_inline<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add overflow-inline property

Source

pub fn overflow_wrap<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add overflow-wrap property

Source

pub fn overflow_x<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add overflow-x property

Source

pub fn overflow_y<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add overflow-y property

Source

pub fn page<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add page property

Source

pub fn paint_order<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add paint-order property

Source

pub fn perspective<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add perspective property

Source

pub fn perspective_origin<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add perspective-origin property

Source

pub fn pointer_events<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add pointer-events property

Source

pub fn position<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add position property

Source

pub fn position_area<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add position-area property

Source

pub fn position_try<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add position-try property

Source

pub fn position_try_fallbacks<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn position_try_order<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add position-try-order property

Source

pub fn position_visibility<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add position-visibility property

Source

pub fn print_color_adjust<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add print-color-adjust property

Source

pub fn quotes<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add quotes property

Source

pub fn rotate<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add rotate property

Source

pub fn row_gap<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add row-gap property

Source

pub fn ruby_align<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add ruby-align property

Source

pub fn ruby_position<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add ruby-position property

Source

pub fn scale<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scale property

Source

pub fn scrollbar_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scrollbar-color property

Source

pub fn scrollbar_gutter<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scrollbar-gutter property

Source

pub fn scrollbar_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scrollbar-width property

Source

pub fn shape_image_threshold<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add shape-image-threshold property

Source

pub fn shape_margin<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add shape-margin property

Source

pub fn shape_outside<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add shape-outside property

Source

pub fn tab_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add tab-size property

Source

pub fn table_layout<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add table-layout property

Source

pub fn touch_action<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add touch-action property

Source

pub fn transform<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add transform property

Source

pub fn transform_box<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add transform-box property

Source

pub fn transform_origin<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add transform-origin property

Source

pub fn transform_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add transform-style property

Source

pub fn translate<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add translate property

Source

pub fn unicode_bidi<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add unicode-bidi property

Source

pub fn visibility<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add visibility property

Source

pub fn white_space<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add white-space property

Source

pub fn white_space_collapse<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add white-space-collapse property

Source

pub fn will_change<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add will-change property

Source

pub fn word_break<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add word-break property

Source

pub fn word_spacing<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add word-spacing property

Source

pub fn writing_mode<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add writing-mode property

Source

pub fn z_index<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add z-index property

Source

pub fn zoom<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add zoom property

Source§

impl Prop

Alignment and Justification


Source

pub fn align_content<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add align-content property

Source

pub fn align_items<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add align-items property

Source

pub fn align_self<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add align-self property

Source

pub fn justify_content<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add justify-content property

Source

pub fn justify_items<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add justify-items property

Source

pub fn justify_self<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add justify-self property

Source

pub fn place_content<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add place-content property

Source

pub fn place_items<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add place-items property

Source

pub fn place_self<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add place-self property

Source

pub fn text_align<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-align property

Source

pub fn text_align_last<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-align-last property

Source

pub fn vertical_align<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add vertical-align property

Source

pub fn alignment_baseline<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add alignment-baseline property

Source

pub fn baseline_shift<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add baseline-shift property

Source

pub fn dominant_baseline<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add dominant-baseline property

Source§

impl Prop

Animation


Source

pub fn animation<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add animation property

Source

pub fn animation_composition<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add animation-composition property

Source

pub fn animation_delay<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add animation-delay property

Source

pub fn animation_direction<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add animation-direction property

Source

pub fn animation_duration<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add animation-duration property

Source

pub fn animation_fill_mode<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add animation-fill-mode property

Source

pub fn animation_iteration_count<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn animation_name<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add animation-name property

Source

pub fn animation_play_state<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add animation-play-state property

Source

pub fn animation_timing_function<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn offset<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add offset property

Source

pub fn offset_anchor<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add offset-anchor property

Source

pub fn offset_distance<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add offset-distance property

Source

pub fn offset_path<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add offset-path property

Source

pub fn offset_position<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add offset-position property

Source

pub fn offset_rotate<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add offset-rotate property

Source

pub fn transition<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add transition property

Source

pub fn transition_behavior<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add transition-behavior property

Source

pub fn transition_delay<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add transition-delay property

Source

pub fn transition_duration<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add transition-duration property

Source

pub fn transition_property<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add transition-property property

Source

pub fn transition_timing_function<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn view_transition_class<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add view-transition-class property

Source

pub fn view_transition_name<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add view-transition-name property

Source§

impl Prop

Background


Source

pub fn background<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add background property

Source

pub fn background_attachment<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add background-attachment property

Source

pub fn background_blend_mode<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add background-blend-mode property

Source

pub fn background_clip<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add background-clip property

Source

pub fn background_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add background-color property

Source

pub fn background_image<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add background-image property

Source

pub fn background_origin<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add background-origin property

Source

pub fn background_position<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add background-position property

Source

pub fn background_position_x<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add background-position-x property

Source

pub fn background_position_y<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add background-position-y property

Source

pub fn background_repeat<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add background-repeat property

Source

pub fn background_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add background-size property

Source§

impl Prop

Border and Outline


Source

pub fn border<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border property

Source

pub fn border_collapse<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-collapse property

Source

pub fn border_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-color property

Source

pub fn border_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-style property

Source

pub fn border_spacing<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-spacing property

Source

pub fn border_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-width property

Source

pub fn border_bottom<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-bottom property

Source

pub fn border_bottom_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-bottom-color property

Source

pub fn border_bottom_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-bottom-style property

Source

pub fn border_bottom_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-bottom-width property

Source

pub fn border_left<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-left property

Source

pub fn border_left_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-left-color property

Source

pub fn border_left_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-left-style property

Source

pub fn border_left_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-left-width property

Source

pub fn border_right<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-right property

Source

pub fn border_right_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-right-color property

Source

pub fn border_right_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-right-style property

Source

pub fn border_right_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-right-width property

Source

pub fn border_top<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-top property

Source

pub fn border_top_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-top-color property

Source

pub fn border_top_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-top-style property

Source

pub fn border_top_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-top-width property

Source

pub fn border_radius<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-radius property

Source

pub fn border_bottom_left_radius<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_bottom_right_radius<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_top_left_radius<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_top_right_radius<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_start_start_radius<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_start_end_radius<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_end_start_radius<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_end_end_radius<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-end-end-radius property

Source

pub fn border_block<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-block property

Source

pub fn border_block_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-block-color property

Source

pub fn border_block_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-block-style property

Source

pub fn border_block_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-block-width property

Source

pub fn border_block_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-block-start property

Source

pub fn border_block_start_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_block_start_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_block_start_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_block_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-block-end property

Source

pub fn border_block_end_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_block_end_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_block_end_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_image<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-image property

Source

pub fn border_image_outset<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-image-outset property

Source

pub fn border_image_repeat<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-image-repeat property

Source

pub fn border_image_slice<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-image-slice property

Source

pub fn border_image_source<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-image-source property

Source

pub fn border_image_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-image-width property

Source

pub fn border_inline<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-inline property

Source

pub fn border_inline_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-inline-color property

Source

pub fn border_inline_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-inline-style property

Source

pub fn border_inline_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-inline-width property

Source

pub fn border_inline_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-inline-start property

Source

pub fn border_inline_start_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_inline_start_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_inline_start_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_inline_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add border-inline-end property

Source

pub fn border_inline_end_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_inline_end_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn border_inline_end_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn outline<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add outline property

Source

pub fn outline_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add outline-color property

Source

pub fn outline_offset<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add outline-offset property

Source

pub fn outline_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add outline-style property

Source

pub fn outline_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add outline-width property

Source§

impl Prop

Column


Source

pub fn columns<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add columns property

Source

pub fn column_count<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add column-count property

Source

pub fn column_fill<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add column-fill property

Source

pub fn column_gap<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add column-gap property

Source

pub fn column_rule<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add column-rule property

Source

pub fn column_rule_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add column-rule-color property

Source

pub fn column_rule_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add column-rule-style property

Source

pub fn column_rule_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add column-rule-width property

Source

pub fn column_span<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add column-span property

Source

pub fn column_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add column-width property

Source§

impl Prop

Content Area


Source

pub fn height<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add height property

Source

pub fn min_height<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add min-height property

Source

pub fn max_height<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add max-height property

Source

pub fn width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add width property

Source

pub fn max_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add max-width property

Source

pub fn min_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add min-width property

Source§

impl Prop

Containment


Source

pub fn contain<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add contain property

Source

pub fn contain_intrinsic_block_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn contain_intrinsic_height<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn contain_intrinsic_inline_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn contain_intrinsic_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn contain_intrinsic_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn container<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add container property

Source

pub fn container_name<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add container-name property

Source

pub fn container_type<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add container-type property

Source

pub fn content_visibility<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add content-visibility property

Source§

impl Prop

Flex


Source

pub fn flex<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add flex property

Source

pub fn flex_basis<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add flex-basis property

Source

pub fn flex_direction<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add flex-direction property

Source

pub fn flex_flow<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add flex-flow property

Source

pub fn flex_grow<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add flex-grow property

Source

pub fn flex_shrink<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add flex-shrink property

Source

pub fn flex_wrap<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add flex-wrap property

Source§

impl Prop

Font


Source

pub fn font<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font property

Source

pub fn font_family<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-family property

Source

pub fn font_feature_settings<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-feature-settings property

Source

pub fn font_kerning<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-kerning property

Source

pub fn font_optical_sizing<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-optical-sizing property

Source

pub fn font_palette<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-palette property

Source

pub fn font_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-size property

Source

pub fn font_size_adjust<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-size-adjust property

Source

pub fn font_stretch<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-stretch property

Source

pub fn font_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-style property

Source

pub fn font_synthesis<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-synthesis property

Source

pub fn font_synthesis_small_caps<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn font_synthesis_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-synthesis-style property

Source

pub fn font_synthesis_weight<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-synthesis-weight property

Source

pub fn font_variant<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-variant property

Source

pub fn font_variant_alternates<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn font_variant_caps<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-variant-caps property

Source

pub fn font_variant_east_asian<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn font_variant_ligatures<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn font_variant_numeric<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-variant-numeric property

Source

pub fn font_variant_position<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-variant-position property

Source

pub fn font_variation_settings<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn font_weight<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add font-weight property

Source§

impl Prop

Grid


Source

pub fn grid<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid property

Source

pub fn grid_area<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-area property

Source

pub fn grid_auto_columns<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-auto-columns property

Source

pub fn grid_auto_flow<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-auto-flow property

Source

pub fn grid_auto_rows<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-auto-rows property

Source

pub fn grid_column<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-column property

Source

pub fn grid_column_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-column-start property

Source

pub fn grid_column_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-column-end property

Source

pub fn grid_row<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-row property

Source

pub fn grid_row_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-row-start property

Source

pub fn grid_row_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-row-end property

Source

pub fn grid_template<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-template property

Source

pub fn grid_template_areas<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-template-areas property

Source

pub fn grid_template_columns<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-template-columns property

Source

pub fn grid_template_rows<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add grid-template-rows property

Source§

impl Prop

Inset


Source

pub fn inset<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add inset property

Source

pub fn bottom<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add bottom property

Source

pub fn left<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add left property

Source

pub fn right<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add right property

Source

pub fn top<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add top property

Source

pub fn inset_block<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add inset-block property

Source

pub fn inset_block_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add inset-block-start property

Source

pub fn inset_block_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add inset-block-end property

Source

pub fn inset_inline<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add inset-inline property

Source

pub fn inset_inline_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add inset-inline-start property

Source

pub fn inset_inline_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add inset-inline-end property

Source§

impl Prop

Margin


Source

pub fn margin<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add margin property

Source

pub fn margin_bottom<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add margin-bottom property

Source

pub fn margin_left<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add margin-left property

Source

pub fn margin_right<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add margin-right property

Source

pub fn margin_top<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add margin-top property

Source

pub fn margin_block<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add margin-block property

Source

pub fn margin_block_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add margin-block-start property

Source

pub fn margin_block_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add margin-block-end property

Source

pub fn margin_inline<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add margin-inline property

Source

pub fn margin_inline_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add margin-inline-start property

Source

pub fn margin_inline_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add margin-inline-end property

Source§

impl Prop

Mask


Source

pub fn mask<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add mask property

Source

pub fn mask_clip<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add mask-clip property

Source

pub fn mask_composite<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add mask-composite property

Source

pub fn mask_image<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add mask-image property

Source

pub fn mask_mode<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add mask-mode property

Source

pub fn mask_origin<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add mask-origin property

Source

pub fn mask_position<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add mask-position property

Source

pub fn mask_repeat<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add mask-repeat property

Source

pub fn mask_size<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add mask-size property

Source§

impl Prop

MathML


Source

pub fn math_depth<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add math-depth property

Source

pub fn math_shift<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add math-shift property

Source

pub fn math_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add math-style property

Source§

impl Prop

Padding


Source

pub fn padding<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add padding property

Source

pub fn padding_bottom<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add padding-bottom property

Source

pub fn padding_left<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add padding-left property

Source

pub fn padding_right<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add padding-right property

Source

pub fn padding_top<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add padding-top property

Source

pub fn padding_block<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add padding-block property

Source

pub fn padding_block_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add padding-block-start property

Source

pub fn padding_block_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add padding-block-end property

Source

pub fn padding_inline<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add padding-inline property

Source

pub fn padding_inline_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add padding-inline-start property

Source

pub fn padding_inline_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add padding-inline-end property

Source§

impl Prop

Scrolling Area


Source

pub fn scroll_behavior<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-behavior property

Source

pub fn scroll_margin<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-margin property

Source

pub fn scroll_margin_bottom<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-margin-bottom property

Source

pub fn scroll_margin_left<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-margin-left property

Source

pub fn scroll_margin_right<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-margin-right property

Source

pub fn scroll_margin_top<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-margin-top property

Source

pub fn scroll_margin_block<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-margin-block property

Source

pub fn scroll_margin_block_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn scroll_margin_block_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn scroll_margin_inline<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-margin-inline property

Source

pub fn scroll_margin_inline_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn scroll_margin_inline_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn scroll_padding<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-padding property

Source

pub fn scroll_padding_bottom<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-padding-bottom property

Source

pub fn scroll_padding_left<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-padding-left property

Source

pub fn scroll_padding_right<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-padding-right property

Source

pub fn scroll_padding_top<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-padding-top property

Source

pub fn scroll_padding_block<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-padding-block property

Source

pub fn scroll_padding_block_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn scroll_padding_block_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn scroll_padding_inline<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-padding-inline property

Source

pub fn scroll_padding_inline_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn scroll_padding_inline_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn scroll_snap_align<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-snap-align property

Source

pub fn scroll_snap_stop<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-snap-stop property

Source

pub fn scroll_snap_type<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add scroll-snap-type property

Source§

impl Prop

SVG


Source

pub fn clip_rule<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add clip-rule property

Source

pub fn color_interpolation<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add color-interpolation property

Source

pub fn color_interpolation_filters<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn cx<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add cx property

Source

pub fn cy<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add cy property

Source

pub fn fill<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add fill property

Source

pub fn fill_opacity<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add fill-opacity property

Source

pub fn fill_rule<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add fill-rule property

Source

pub fn flood_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add flood-color property

Source

pub fn flood_opacity<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add flood-opacity property

Source

pub fn lighting_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add lighting-color property

Source

pub fn marker<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add marker property

Source

pub fn marker_start<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add marker-start property

Source

pub fn marker_mid<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add marker-mid property

Source

pub fn marker_end<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add marker-end property

Source

pub fn mask_type<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add mask-type property

Source

pub fn r<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add r property

Source

pub fn rx<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add rx property

Source

pub fn ry<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add ry property

Source

pub fn shape_rendering<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add shape-rendering property

Source

pub fn stop_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add stop-color property

Source

pub fn stop_opacity<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add stop-opacity property

Source

pub fn stroke<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add stroke property

Source

pub fn stroke_dasharray<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add stroke-dasharray property

Source

pub fn stroke_dashoffset<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add stroke-dashoffset property

Source

pub fn stroke_linecap<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add stroke-linecap property

Source

pub fn stroke_linejoin<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add stroke-linejoin property

Source

pub fn stroke_miterlimit<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add stroke-miterlimit property

Source

pub fn stroke_opacity<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add stroke-opacity property

Source

pub fn stroke_width<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add stroke-width property

Source

pub fn text_anchor<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-anchor property

Source

pub fn vector_effect<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add vector-effect property

Source

pub fn x<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add x property

Source

pub fn y<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add y property

Source§

impl Prop

Text


Source

pub fn text_autospace<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-autospace property

Source

pub fn text_combine_upright<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-combine-upright property

Source

pub fn text_decoration<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-decoration property

Source

pub fn text_decoration_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-decoration-color property

Source

pub fn text_decoration_line<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-decoration-line property

Source

pub fn text_decoration_skip_ink<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn text_decoration_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-decoration-style property

Source

pub fn text_decoration_thickness<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn text_emphasis<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-emphasis property

Source

pub fn text_emphasis_color<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-emphasis-color property

Source

pub fn text_emphasis_position<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn text_emphasis_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-emphasis-style property

Source

pub fn text_indent<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-indent property

Source

pub fn text_orientation<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-orientation property

Source

pub fn text_overflow<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-overflow property

Source

pub fn text_rendering<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-rendering property

Source

pub fn text_shadow<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-shadow property

Source

pub fn text_transform<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-transform property

Source

pub fn text_underline_offset<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-underline-offset property

Source

pub fn text_underline_position<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Source

pub fn text_wrap<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-wrap property

Source

pub fn text_wrap_mode<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-wrap-mode property

Source

pub fn text_wrap_style<'a, V>(self, v: V) -> Self
where V: Into<Val<'a>>,

Add text-wrap-style property

Trait Implementations§

Source§

impl Clone for Prop

Source§

fn clone(&self) -> Prop

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Prop

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Prop

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Display for Prop

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<Prop> for String

Source§

fn from(prop: Prop) -> Self

Converts to this type from the input type.
Source§

impl From<Prop> for Value<'_>

Source§

fn from(v: Prop) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Prop

§

impl RefUnwindSafe for Prop

§

impl Send for Prop

§

impl Sync for Prop

§

impl Unpin for Prop

§

impl UnsafeUnpin for Prop

§

impl UnwindSafe for Prop

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.