pub struct InheritedText {Show 31 fields
pub color: T,
pub letter_spacing: T,
pub overflow_wrap: T,
pub text_align: T,
pub text_align_last: T,
pub text_indent: T,
pub text_justify: T,
pub text_shadow: T,
pub text_transform: T,
pub word_break: T,
pub word_spacing: T,
pub forced_color_adjust: T,
pub hyphenate_character: T,
pub line_break: T,
pub ruby_position: T,
pub tab_size: T,
pub text_autospace: T,
pub text_box_edge: T,
pub text_emphasis_color: T,
pub text_emphasis_position: T,
pub text_emphasis_style: T,
pub text_underline_offset: T,
pub text_underline_position: T,
pub hyphens: T,
pub ruby_align: T,
pub text_combine_upright: T,
pub text_rendering: T,
pub _webkit_text_security: T,
pub text_wrap_mode: T,
pub text_wrap_style: T,
pub white_space_collapse: T,
}Expand description
The InheritedText style struct.
Fields§
§color: TThe color computed value.
letter_spacing: TThe letter-spacing computed value.
overflow_wrap: TThe overflow-wrap computed value.
text_align: TThe text-align computed value.
text_align_last: TThe text-align-last computed value.
text_indent: TThe text-indent computed value.
text_justify: TThe text-justify computed value.
text_shadow: TThe text-shadow computed value.
text_transform: TThe text-transform computed value.
word_break: TThe word-break computed value.
word_spacing: TThe word-spacing computed value.
forced_color_adjust: TThe forced-color-adjust computed value.
hyphenate_character: TThe hyphenate-character computed value.
line_break: TThe line-break computed value.
ruby_position: TThe ruby-position computed value.
tab_size: TThe tab-size computed value.
text_autospace: TThe text-autospace computed value.
text_box_edge: TThe text-box-edge computed value.
text_emphasis_color: TThe text-emphasis-color computed value.
text_emphasis_position: TThe text-emphasis-position computed value.
text_emphasis_style: TThe text-emphasis-style computed value.
text_underline_offset: TThe text-underline-offset computed value.
text_underline_position: TThe text-underline-position computed value.
hyphens: TThe hyphens computed value.
ruby_align: TThe ruby-align computed value.
text_combine_upright: TThe text-combine-upright computed value.
text_rendering: TThe text-rendering computed value.
_webkit_text_security: TThe -webkit-text-security computed value.
text_wrap_mode: TThe text-wrap-mode computed value.
text_wrap_style: TThe text-wrap-style computed value.
white_space_collapse: TThe white-space-collapse computed value.
Implementations§
Source§impl InheritedText
impl InheritedText
Sourcepub fn copy_color_from(&mut self, other: &Self)
pub fn copy_color_from(&mut self, other: &Self)
Set color from other struct.
Sourcepub fn reset_color(&mut self, other: &Self)
pub fn reset_color(&mut self, other: &Self)
Reset color from the initial struct.
Sourcepub fn slow_clone_color(&self) -> T
pub fn slow_clone_color(&self) -> T
Clone the computed value for color. Prefer
get_color where a reference is enough.
Sourcepub fn color_equals(&self, other: &Self) -> bool
pub fn color_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for color.
Sourcepub fn set_letter_spacing(&mut self, v: T)
pub fn set_letter_spacing(&mut self, v: T)
Set letter-spacing.
Sourcepub fn copy_letter_spacing_from(&mut self, other: &Self)
pub fn copy_letter_spacing_from(&mut self, other: &Self)
Set letter-spacing from other struct.
Sourcepub fn reset_letter_spacing(&mut self, other: &Self)
pub fn reset_letter_spacing(&mut self, other: &Self)
Reset letter-spacing from the initial struct.
Sourcepub fn get_letter_spacing(&self) -> &T
pub fn get_letter_spacing(&self) -> &T
Get a reference to the computed value for letter-spacing.
Sourcepub fn slow_clone_letter_spacing(&self) -> T
pub fn slow_clone_letter_spacing(&self) -> T
Clone the computed value for letter-spacing. Prefer
get_letter_spacing where a reference is enough.
Sourcepub fn letter_spacing_equals(&self, other: &Self) -> bool
pub fn letter_spacing_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for letter-spacing.
Sourcepub fn set_overflow_wrap(&mut self, v: T)
pub fn set_overflow_wrap(&mut self, v: T)
Set overflow-wrap.
Sourcepub fn copy_overflow_wrap_from(&mut self, other: &Self)
pub fn copy_overflow_wrap_from(&mut self, other: &Self)
Set overflow-wrap from other struct.
Sourcepub fn reset_overflow_wrap(&mut self, other: &Self)
pub fn reset_overflow_wrap(&mut self, other: &Self)
Reset overflow-wrap from the initial struct.
Sourcepub fn get_overflow_wrap(&self) -> &T
pub fn get_overflow_wrap(&self) -> &T
Get a reference to the computed value for overflow-wrap.
Sourcepub fn slow_clone_overflow_wrap(&self) -> T
pub fn slow_clone_overflow_wrap(&self) -> T
Clone the computed value for overflow-wrap. Prefer
get_overflow_wrap where a reference is enough.
Sourcepub fn overflow_wrap_equals(&self, other: &Self) -> bool
pub fn overflow_wrap_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for overflow-wrap.
Sourcepub fn set_text_align(&mut self, v: T)
pub fn set_text_align(&mut self, v: T)
Set text-align.
Sourcepub fn copy_text_align_from(&mut self, other: &Self)
pub fn copy_text_align_from(&mut self, other: &Self)
Set text-align from other struct.
Sourcepub fn reset_text_align(&mut self, other: &Self)
pub fn reset_text_align(&mut self, other: &Self)
Reset text-align from the initial struct.
Sourcepub fn get_text_align(&self) -> &T
pub fn get_text_align(&self) -> &T
Get a reference to the computed value for text-align.
Sourcepub fn slow_clone_text_align(&self) -> T
pub fn slow_clone_text_align(&self) -> T
Clone the computed value for text-align. Prefer
get_text_align where a reference is enough.
Sourcepub fn text_align_equals(&self, other: &Self) -> bool
pub fn text_align_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-align.
Sourcepub fn set_text_align_last(&mut self, v: T)
pub fn set_text_align_last(&mut self, v: T)
Set text-align-last.
Sourcepub fn copy_text_align_last_from(&mut self, other: &Self)
pub fn copy_text_align_last_from(&mut self, other: &Self)
Set text-align-last from other struct.
Sourcepub fn reset_text_align_last(&mut self, other: &Self)
pub fn reset_text_align_last(&mut self, other: &Self)
Reset text-align-last from the initial struct.
Sourcepub fn get_text_align_last(&self) -> &T
pub fn get_text_align_last(&self) -> &T
Get a reference to the computed value for text-align-last.
Sourcepub fn slow_clone_text_align_last(&self) -> T
pub fn slow_clone_text_align_last(&self) -> T
Clone the computed value for text-align-last. Prefer
get_text_align_last where a reference is enough.
Sourcepub fn text_align_last_equals(&self, other: &Self) -> bool
pub fn text_align_last_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-align-last.
Sourcepub fn set_text_indent(&mut self, v: T)
pub fn set_text_indent(&mut self, v: T)
Set text-indent.
Sourcepub fn copy_text_indent_from(&mut self, other: &Self)
pub fn copy_text_indent_from(&mut self, other: &Self)
Set text-indent from other struct.
Sourcepub fn reset_text_indent(&mut self, other: &Self)
pub fn reset_text_indent(&mut self, other: &Self)
Reset text-indent from the initial struct.
Sourcepub fn get_text_indent(&self) -> &T
pub fn get_text_indent(&self) -> &T
Get a reference to the computed value for text-indent.
Sourcepub fn slow_clone_text_indent(&self) -> T
pub fn slow_clone_text_indent(&self) -> T
Clone the computed value for text-indent. Prefer
get_text_indent where a reference is enough.
Sourcepub fn text_indent_equals(&self, other: &Self) -> bool
pub fn text_indent_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-indent.
Sourcepub fn set_text_justify(&mut self, v: T)
pub fn set_text_justify(&mut self, v: T)
Set text-justify.
Sourcepub fn copy_text_justify_from(&mut self, other: &Self)
pub fn copy_text_justify_from(&mut self, other: &Self)
Set text-justify from other struct.
Sourcepub fn reset_text_justify(&mut self, other: &Self)
pub fn reset_text_justify(&mut self, other: &Self)
Reset text-justify from the initial struct.
Sourcepub fn get_text_justify(&self) -> &T
pub fn get_text_justify(&self) -> &T
Get a reference to the computed value for text-justify.
Sourcepub fn slow_clone_text_justify(&self) -> T
pub fn slow_clone_text_justify(&self) -> T
Clone the computed value for text-justify. Prefer
get_text_justify where a reference is enough.
Sourcepub fn text_justify_equals(&self, other: &Self) -> bool
pub fn text_justify_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-justify.
Sourcepub fn set_text_shadow(&mut self, v: T)
pub fn set_text_shadow(&mut self, v: T)
Set text-shadow.
Sourcepub fn copy_text_shadow_from(&mut self, other: &Self)
pub fn copy_text_shadow_from(&mut self, other: &Self)
Set text-shadow from other struct.
Sourcepub fn reset_text_shadow(&mut self, other: &Self)
pub fn reset_text_shadow(&mut self, other: &Self)
Reset text-shadow from the initial struct.
Sourcepub fn get_text_shadow(&self) -> &T
pub fn get_text_shadow(&self) -> &T
Get a reference to the computed value for text-shadow.
Sourcepub fn slow_clone_text_shadow(&self) -> T
pub fn slow_clone_text_shadow(&self) -> T
Clone the computed value for text-shadow. Prefer
get_text_shadow where a reference is enough.
Sourcepub fn text_shadow_equals(&self, other: &Self) -> bool
pub fn text_shadow_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-shadow.
Sourcepub fn set_text_transform(&mut self, v: T)
pub fn set_text_transform(&mut self, v: T)
Set text-transform.
Sourcepub fn copy_text_transform_from(&mut self, other: &Self)
pub fn copy_text_transform_from(&mut self, other: &Self)
Set text-transform from other struct.
Sourcepub fn reset_text_transform(&mut self, other: &Self)
pub fn reset_text_transform(&mut self, other: &Self)
Reset text-transform from the initial struct.
Sourcepub fn get_text_transform(&self) -> &T
pub fn get_text_transform(&self) -> &T
Get a reference to the computed value for text-transform.
Sourcepub fn slow_clone_text_transform(&self) -> T
pub fn slow_clone_text_transform(&self) -> T
Clone the computed value for text-transform. Prefer
get_text_transform where a reference is enough.
Sourcepub fn text_transform_equals(&self, other: &Self) -> bool
pub fn text_transform_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-transform.
Sourcepub fn set_word_break(&mut self, v: T)
pub fn set_word_break(&mut self, v: T)
Set word-break.
Sourcepub fn copy_word_break_from(&mut self, other: &Self)
pub fn copy_word_break_from(&mut self, other: &Self)
Set word-break from other struct.
Sourcepub fn reset_word_break(&mut self, other: &Self)
pub fn reset_word_break(&mut self, other: &Self)
Reset word-break from the initial struct.
Sourcepub fn get_word_break(&self) -> &T
pub fn get_word_break(&self) -> &T
Get a reference to the computed value for word-break.
Sourcepub fn slow_clone_word_break(&self) -> T
pub fn slow_clone_word_break(&self) -> T
Clone the computed value for word-break. Prefer
get_word_break where a reference is enough.
Sourcepub fn word_break_equals(&self, other: &Self) -> bool
pub fn word_break_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for word-break.
Sourcepub fn set_word_spacing(&mut self, v: T)
pub fn set_word_spacing(&mut self, v: T)
Set word-spacing.
Sourcepub fn copy_word_spacing_from(&mut self, other: &Self)
pub fn copy_word_spacing_from(&mut self, other: &Self)
Set word-spacing from other struct.
Sourcepub fn reset_word_spacing(&mut self, other: &Self)
pub fn reset_word_spacing(&mut self, other: &Self)
Reset word-spacing from the initial struct.
Sourcepub fn get_word_spacing(&self) -> &T
pub fn get_word_spacing(&self) -> &T
Get a reference to the computed value for word-spacing.
Sourcepub fn slow_clone_word_spacing(&self) -> T
pub fn slow_clone_word_spacing(&self) -> T
Clone the computed value for word-spacing. Prefer
get_word_spacing where a reference is enough.
Sourcepub fn word_spacing_equals(&self, other: &Self) -> bool
pub fn word_spacing_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for word-spacing.
Sourcepub fn set_forced_color_adjust(&mut self, v: T)
pub fn set_forced_color_adjust(&mut self, v: T)
Set forced-color-adjust.
Sourcepub fn copy_forced_color_adjust_from(&mut self, other: &Self)
pub fn copy_forced_color_adjust_from(&mut self, other: &Self)
Set forced-color-adjust from other struct.
Sourcepub fn reset_forced_color_adjust(&mut self, other: &Self)
pub fn reset_forced_color_adjust(&mut self, other: &Self)
Reset forced-color-adjust from the initial struct.
Sourcepub fn get_forced_color_adjust(&self) -> &T
pub fn get_forced_color_adjust(&self) -> &T
Get a reference to the computed value for forced-color-adjust.
Sourcepub fn slow_clone_forced_color_adjust(&self) -> T
pub fn slow_clone_forced_color_adjust(&self) -> T
Clone the computed value for forced-color-adjust. Prefer
get_forced_color_adjust where a reference is enough.
Sourcepub fn forced_color_adjust_equals(&self, other: &Self) -> bool
pub fn forced_color_adjust_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for forced-color-adjust.
Sourcepub fn set_hyphenate_character(&mut self, v: T)
pub fn set_hyphenate_character(&mut self, v: T)
Set hyphenate-character.
Sourcepub fn copy_hyphenate_character_from(&mut self, other: &Self)
pub fn copy_hyphenate_character_from(&mut self, other: &Self)
Set hyphenate-character from other struct.
Sourcepub fn reset_hyphenate_character(&mut self, other: &Self)
pub fn reset_hyphenate_character(&mut self, other: &Self)
Reset hyphenate-character from the initial struct.
Sourcepub fn get_hyphenate_character(&self) -> &T
pub fn get_hyphenate_character(&self) -> &T
Get a reference to the computed value for hyphenate-character.
Sourcepub fn slow_clone_hyphenate_character(&self) -> T
pub fn slow_clone_hyphenate_character(&self) -> T
Clone the computed value for hyphenate-character. Prefer
get_hyphenate_character where a reference is enough.
Sourcepub fn hyphenate_character_equals(&self, other: &Self) -> bool
pub fn hyphenate_character_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for hyphenate-character.
Sourcepub fn set_line_break(&mut self, v: T)
pub fn set_line_break(&mut self, v: T)
Set line-break.
Sourcepub fn copy_line_break_from(&mut self, other: &Self)
pub fn copy_line_break_from(&mut self, other: &Self)
Set line-break from other struct.
Sourcepub fn reset_line_break(&mut self, other: &Self)
pub fn reset_line_break(&mut self, other: &Self)
Reset line-break from the initial struct.
Sourcepub fn get_line_break(&self) -> &T
pub fn get_line_break(&self) -> &T
Get a reference to the computed value for line-break.
Sourcepub fn slow_clone_line_break(&self) -> T
pub fn slow_clone_line_break(&self) -> T
Clone the computed value for line-break. Prefer
get_line_break where a reference is enough.
Sourcepub fn line_break_equals(&self, other: &Self) -> bool
pub fn line_break_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for line-break.
Sourcepub fn set_ruby_position(&mut self, v: T)
pub fn set_ruby_position(&mut self, v: T)
Set ruby-position.
Sourcepub fn copy_ruby_position_from(&mut self, other: &Self)
pub fn copy_ruby_position_from(&mut self, other: &Self)
Set ruby-position from other struct.
Sourcepub fn reset_ruby_position(&mut self, other: &Self)
pub fn reset_ruby_position(&mut self, other: &Self)
Reset ruby-position from the initial struct.
Sourcepub fn get_ruby_position(&self) -> &T
pub fn get_ruby_position(&self) -> &T
Get a reference to the computed value for ruby-position.
Sourcepub fn slow_clone_ruby_position(&self) -> T
pub fn slow_clone_ruby_position(&self) -> T
Clone the computed value for ruby-position. Prefer
get_ruby_position where a reference is enough.
Sourcepub fn ruby_position_equals(&self, other: &Self) -> bool
pub fn ruby_position_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for ruby-position.
Sourcepub fn set_tab_size(&mut self, v: T)
pub fn set_tab_size(&mut self, v: T)
Set tab-size.
Sourcepub fn copy_tab_size_from(&mut self, other: &Self)
pub fn copy_tab_size_from(&mut self, other: &Self)
Set tab-size from other struct.
Sourcepub fn reset_tab_size(&mut self, other: &Self)
pub fn reset_tab_size(&mut self, other: &Self)
Reset tab-size from the initial struct.
Sourcepub fn get_tab_size(&self) -> &T
pub fn get_tab_size(&self) -> &T
Get a reference to the computed value for tab-size.
Sourcepub fn slow_clone_tab_size(&self) -> T
pub fn slow_clone_tab_size(&self) -> T
Clone the computed value for tab-size. Prefer
get_tab_size where a reference is enough.
Sourcepub fn tab_size_equals(&self, other: &Self) -> bool
pub fn tab_size_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for tab-size.
Sourcepub fn set_text_autospace(&mut self, v: T)
pub fn set_text_autospace(&mut self, v: T)
Set text-autospace.
Sourcepub fn copy_text_autospace_from(&mut self, other: &Self)
pub fn copy_text_autospace_from(&mut self, other: &Self)
Set text-autospace from other struct.
Sourcepub fn reset_text_autospace(&mut self, other: &Self)
pub fn reset_text_autospace(&mut self, other: &Self)
Reset text-autospace from the initial struct.
Sourcepub fn get_text_autospace(&self) -> &T
pub fn get_text_autospace(&self) -> &T
Get a reference to the computed value for text-autospace.
Sourcepub fn slow_clone_text_autospace(&self) -> T
pub fn slow_clone_text_autospace(&self) -> T
Clone the computed value for text-autospace. Prefer
get_text_autospace where a reference is enough.
Sourcepub fn text_autospace_equals(&self, other: &Self) -> bool
pub fn text_autospace_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-autospace.
Sourcepub fn set_text_box_edge(&mut self, v: T)
pub fn set_text_box_edge(&mut self, v: T)
Set text-box-edge.
Sourcepub fn copy_text_box_edge_from(&mut self, other: &Self)
pub fn copy_text_box_edge_from(&mut self, other: &Self)
Set text-box-edge from other struct.
Sourcepub fn reset_text_box_edge(&mut self, other: &Self)
pub fn reset_text_box_edge(&mut self, other: &Self)
Reset text-box-edge from the initial struct.
Sourcepub fn get_text_box_edge(&self) -> &T
pub fn get_text_box_edge(&self) -> &T
Get a reference to the computed value for text-box-edge.
Sourcepub fn slow_clone_text_box_edge(&self) -> T
pub fn slow_clone_text_box_edge(&self) -> T
Clone the computed value for text-box-edge. Prefer
get_text_box_edge where a reference is enough.
Sourcepub fn text_box_edge_equals(&self, other: &Self) -> bool
pub fn text_box_edge_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-box-edge.
Sourcepub fn set_text_emphasis_color(&mut self, v: T)
pub fn set_text_emphasis_color(&mut self, v: T)
Set text-emphasis-color.
Sourcepub fn copy_text_emphasis_color_from(&mut self, other: &Self)
pub fn copy_text_emphasis_color_from(&mut self, other: &Self)
Set text-emphasis-color from other struct.
Sourcepub fn reset_text_emphasis_color(&mut self, other: &Self)
pub fn reset_text_emphasis_color(&mut self, other: &Self)
Reset text-emphasis-color from the initial struct.
Sourcepub fn get_text_emphasis_color(&self) -> &T
pub fn get_text_emphasis_color(&self) -> &T
Get a reference to the computed value for text-emphasis-color.
Sourcepub fn slow_clone_text_emphasis_color(&self) -> T
pub fn slow_clone_text_emphasis_color(&self) -> T
Clone the computed value for text-emphasis-color. Prefer
get_text_emphasis_color where a reference is enough.
Sourcepub fn text_emphasis_color_equals(&self, other: &Self) -> bool
pub fn text_emphasis_color_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-emphasis-color.
Sourcepub fn set_text_emphasis_position(&mut self, v: T)
pub fn set_text_emphasis_position(&mut self, v: T)
Set text-emphasis-position.
Sourcepub fn copy_text_emphasis_position_from(&mut self, other: &Self)
pub fn copy_text_emphasis_position_from(&mut self, other: &Self)
Set text-emphasis-position from other struct.
Sourcepub fn reset_text_emphasis_position(&mut self, other: &Self)
pub fn reset_text_emphasis_position(&mut self, other: &Self)
Reset text-emphasis-position from the initial struct.
Sourcepub fn get_text_emphasis_position(&self) -> &T
pub fn get_text_emphasis_position(&self) -> &T
Get a reference to the computed value for text-emphasis-position.
Sourcepub fn slow_clone_text_emphasis_position(&self) -> T
pub fn slow_clone_text_emphasis_position(&self) -> T
Clone the computed value for text-emphasis-position. Prefer
get_text_emphasis_position where a reference is enough.
Sourcepub fn text_emphasis_position_equals(&self, other: &Self) -> bool
pub fn text_emphasis_position_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-emphasis-position.
Sourcepub fn set_text_emphasis_style(&mut self, v: T)
pub fn set_text_emphasis_style(&mut self, v: T)
Set text-emphasis-style.
Sourcepub fn copy_text_emphasis_style_from(&mut self, other: &Self)
pub fn copy_text_emphasis_style_from(&mut self, other: &Self)
Set text-emphasis-style from other struct.
Sourcepub fn reset_text_emphasis_style(&mut self, other: &Self)
pub fn reset_text_emphasis_style(&mut self, other: &Self)
Reset text-emphasis-style from the initial struct.
Sourcepub fn get_text_emphasis_style(&self) -> &T
pub fn get_text_emphasis_style(&self) -> &T
Get a reference to the computed value for text-emphasis-style.
Sourcepub fn slow_clone_text_emphasis_style(&self) -> T
pub fn slow_clone_text_emphasis_style(&self) -> T
Clone the computed value for text-emphasis-style. Prefer
get_text_emphasis_style where a reference is enough.
Sourcepub fn text_emphasis_style_equals(&self, other: &Self) -> bool
pub fn text_emphasis_style_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-emphasis-style.
Sourcepub fn set_text_underline_offset(&mut self, v: T)
pub fn set_text_underline_offset(&mut self, v: T)
Set text-underline-offset.
Sourcepub fn copy_text_underline_offset_from(&mut self, other: &Self)
pub fn copy_text_underline_offset_from(&mut self, other: &Self)
Set text-underline-offset from other struct.
Sourcepub fn reset_text_underline_offset(&mut self, other: &Self)
pub fn reset_text_underline_offset(&mut self, other: &Self)
Reset text-underline-offset from the initial struct.
Sourcepub fn get_text_underline_offset(&self) -> &T
pub fn get_text_underline_offset(&self) -> &T
Get a reference to the computed value for text-underline-offset.
Sourcepub fn slow_clone_text_underline_offset(&self) -> T
pub fn slow_clone_text_underline_offset(&self) -> T
Clone the computed value for text-underline-offset. Prefer
get_text_underline_offset where a reference is enough.
Sourcepub fn text_underline_offset_equals(&self, other: &Self) -> bool
pub fn text_underline_offset_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-underline-offset.
Sourcepub fn set_text_underline_position(&mut self, v: T)
pub fn set_text_underline_position(&mut self, v: T)
Set text-underline-position.
Sourcepub fn copy_text_underline_position_from(&mut self, other: &Self)
pub fn copy_text_underline_position_from(&mut self, other: &Self)
Set text-underline-position from other struct.
Sourcepub fn reset_text_underline_position(&mut self, other: &Self)
pub fn reset_text_underline_position(&mut self, other: &Self)
Reset text-underline-position from the initial struct.
Sourcepub fn get_text_underline_position(&self) -> &T
pub fn get_text_underline_position(&self) -> &T
Get a reference to the computed value for text-underline-position.
Sourcepub fn slow_clone_text_underline_position(&self) -> T
pub fn slow_clone_text_underline_position(&self) -> T
Clone the computed value for text-underline-position. Prefer
get_text_underline_position where a reference is enough.
Sourcepub fn text_underline_position_equals(&self, other: &Self) -> bool
pub fn text_underline_position_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-underline-position.
Sourcepub fn set_hyphens(&mut self, v: T)
pub fn set_hyphens(&mut self, v: T)
Set hyphens.
Sourcepub fn copy_hyphens_from(&mut self, other: &Self)
pub fn copy_hyphens_from(&mut self, other: &Self)
Set hyphens from other struct.
Sourcepub fn reset_hyphens(&mut self, other: &Self)
pub fn reset_hyphens(&mut self, other: &Self)
Reset hyphens from the initial struct.
Sourcepub fn get_hyphens(&self) -> &T
pub fn get_hyphens(&self) -> &T
Get a reference to the computed value for hyphens.
Sourcepub fn slow_clone_hyphens(&self) -> T
pub fn slow_clone_hyphens(&self) -> T
Clone the computed value for hyphens. Prefer
get_hyphens where a reference is enough.
Sourcepub fn hyphens_equals(&self, other: &Self) -> bool
pub fn hyphens_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for hyphens.
Sourcepub fn set_ruby_align(&mut self, v: T)
pub fn set_ruby_align(&mut self, v: T)
Set ruby-align.
Sourcepub fn copy_ruby_align_from(&mut self, other: &Self)
pub fn copy_ruby_align_from(&mut self, other: &Self)
Set ruby-align from other struct.
Sourcepub fn reset_ruby_align(&mut self, other: &Self)
pub fn reset_ruby_align(&mut self, other: &Self)
Reset ruby-align from the initial struct.
Sourcepub fn get_ruby_align(&self) -> &T
pub fn get_ruby_align(&self) -> &T
Get a reference to the computed value for ruby-align.
Sourcepub fn slow_clone_ruby_align(&self) -> T
pub fn slow_clone_ruby_align(&self) -> T
Clone the computed value for ruby-align. Prefer
get_ruby_align where a reference is enough.
Sourcepub fn ruby_align_equals(&self, other: &Self) -> bool
pub fn ruby_align_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for ruby-align.
Sourcepub fn set_text_combine_upright(&mut self, v: T)
pub fn set_text_combine_upright(&mut self, v: T)
Set text-combine-upright.
Sourcepub fn copy_text_combine_upright_from(&mut self, other: &Self)
pub fn copy_text_combine_upright_from(&mut self, other: &Self)
Set text-combine-upright from other struct.
Sourcepub fn reset_text_combine_upright(&mut self, other: &Self)
pub fn reset_text_combine_upright(&mut self, other: &Self)
Reset text-combine-upright from the initial struct.
Sourcepub fn get_text_combine_upright(&self) -> &T
pub fn get_text_combine_upright(&self) -> &T
Get a reference to the computed value for text-combine-upright.
Sourcepub fn slow_clone_text_combine_upright(&self) -> T
pub fn slow_clone_text_combine_upright(&self) -> T
Clone the computed value for text-combine-upright. Prefer
get_text_combine_upright where a reference is enough.
Sourcepub fn text_combine_upright_equals(&self, other: &Self) -> bool
pub fn text_combine_upright_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-combine-upright.
Sourcepub fn set_text_rendering(&mut self, v: T)
pub fn set_text_rendering(&mut self, v: T)
Set text-rendering.
Sourcepub fn copy_text_rendering_from(&mut self, other: &Self)
pub fn copy_text_rendering_from(&mut self, other: &Self)
Set text-rendering from other struct.
Sourcepub fn reset_text_rendering(&mut self, other: &Self)
pub fn reset_text_rendering(&mut self, other: &Self)
Reset text-rendering from the initial struct.
Sourcepub fn get_text_rendering(&self) -> &T
pub fn get_text_rendering(&self) -> &T
Get a reference to the computed value for text-rendering.
Sourcepub fn slow_clone_text_rendering(&self) -> T
pub fn slow_clone_text_rendering(&self) -> T
Clone the computed value for text-rendering. Prefer
get_text_rendering where a reference is enough.
Sourcepub fn text_rendering_equals(&self, other: &Self) -> bool
pub fn text_rendering_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-rendering.
Sourcepub fn set__webkit_text_security(&mut self, v: T)
pub fn set__webkit_text_security(&mut self, v: T)
Set -webkit-text-security.
Sourcepub fn copy__webkit_text_security_from(&mut self, other: &Self)
pub fn copy__webkit_text_security_from(&mut self, other: &Self)
Set -webkit-text-security from other struct.
Sourcepub fn reset__webkit_text_security(&mut self, other: &Self)
pub fn reset__webkit_text_security(&mut self, other: &Self)
Reset -webkit-text-security from the initial struct.
Sourcepub fn get__webkit_text_security(&self) -> &T
pub fn get__webkit_text_security(&self) -> &T
Get a reference to the computed value for -webkit-text-security.
Sourcepub fn slow_clone__webkit_text_security(&self) -> T
pub fn slow_clone__webkit_text_security(&self) -> T
Clone the computed value for -webkit-text-security. Prefer
get__webkit_text_security where a reference is enough.
Sourcepub fn _webkit_text_security_equals(&self, other: &Self) -> bool
pub fn _webkit_text_security_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for -webkit-text-security.
Sourcepub fn set_text_wrap_mode(&mut self, v: T)
pub fn set_text_wrap_mode(&mut self, v: T)
Set text-wrap-mode.
Sourcepub fn copy_text_wrap_mode_from(&mut self, other: &Self)
pub fn copy_text_wrap_mode_from(&mut self, other: &Self)
Set text-wrap-mode from other struct.
Sourcepub fn reset_text_wrap_mode(&mut self, other: &Self)
pub fn reset_text_wrap_mode(&mut self, other: &Self)
Reset text-wrap-mode from the initial struct.
Sourcepub fn get_text_wrap_mode(&self) -> &T
pub fn get_text_wrap_mode(&self) -> &T
Get a reference to the computed value for text-wrap-mode.
Sourcepub fn slow_clone_text_wrap_mode(&self) -> T
pub fn slow_clone_text_wrap_mode(&self) -> T
Clone the computed value for text-wrap-mode. Prefer
get_text_wrap_mode where a reference is enough.
Sourcepub fn text_wrap_mode_equals(&self, other: &Self) -> bool
pub fn text_wrap_mode_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-wrap-mode.
Sourcepub fn set_text_wrap_style(&mut self, v: T)
pub fn set_text_wrap_style(&mut self, v: T)
Set text-wrap-style.
Sourcepub fn copy_text_wrap_style_from(&mut self, other: &Self)
pub fn copy_text_wrap_style_from(&mut self, other: &Self)
Set text-wrap-style from other struct.
Sourcepub fn reset_text_wrap_style(&mut self, other: &Self)
pub fn reset_text_wrap_style(&mut self, other: &Self)
Reset text-wrap-style from the initial struct.
Sourcepub fn get_text_wrap_style(&self) -> &T
pub fn get_text_wrap_style(&self) -> &T
Get a reference to the computed value for text-wrap-style.
Sourcepub fn slow_clone_text_wrap_style(&self) -> T
pub fn slow_clone_text_wrap_style(&self) -> T
Clone the computed value for text-wrap-style. Prefer
get_text_wrap_style where a reference is enough.
Sourcepub fn text_wrap_style_equals(&self, other: &Self) -> bool
pub fn text_wrap_style_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for text-wrap-style.
Sourcepub fn set_white_space_collapse(&mut self, v: T)
pub fn set_white_space_collapse(&mut self, v: T)
Set white-space-collapse.
Sourcepub fn copy_white_space_collapse_from(&mut self, other: &Self)
pub fn copy_white_space_collapse_from(&mut self, other: &Self)
Set white-space-collapse from other struct.
Sourcepub fn reset_white_space_collapse(&mut self, other: &Self)
pub fn reset_white_space_collapse(&mut self, other: &Self)
Reset white-space-collapse from the initial struct.
Sourcepub fn get_white_space_collapse(&self) -> &T
pub fn get_white_space_collapse(&self) -> &T
Get a reference to the computed value for white-space-collapse.
Sourcepub fn slow_clone_white_space_collapse(&self) -> T
pub fn slow_clone_white_space_collapse(&self) -> T
Clone the computed value for white-space-collapse. Prefer
get_white_space_collapse where a reference is enough.
Sourcepub fn white_space_collapse_equals(&self, other: &Self) -> bool
pub fn white_space_collapse_equals(&self, other: &Self) -> bool
Whether self and other have the same computed value for white-space-collapse.
Trait Implementations§
Source§impl Clone for InheritedText
impl Clone for InheritedText
Source§fn clone(&self) -> InheritedText
fn clone(&self) -> InheritedText
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InheritedText
impl Debug for InheritedText
Source§impl MallocSizeOf for InheritedText
impl MallocSizeOf for InheritedText
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Source§impl PartialEq for InheritedText
impl PartialEq for InheritedText
Source§fn eq(&self, other: &InheritedText) -> bool
fn eq(&self, other: &InheritedText) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InheritedText
Auto Trait Implementations§
impl Freeze for InheritedText
impl RefUnwindSafe for InheritedText
impl Send for InheritedText
impl Sync for InheritedText
impl Unpin for InheritedText
impl UnsafeUnpin for InheritedText
impl UnwindSafe for InheritedText
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more