Struct style::properties::style_structs::Text
source · pub struct Text {
pub text_overflow: T,
pub unicode_bidi: T,
pub text_decoration_line: T,
pub text_decoration_style: T,
pub text_decoration_color: T,
}
Expand description
The Text style struct.
Fields§
§text_overflow: T
The text-overflow computed value.
unicode_bidi: T
The unicode-bidi computed value.
text_decoration_line: T
The text-decoration-line computed value.
text_decoration_style: T
The text-decoration-style computed value.
text_decoration_color: T
The text-decoration-color computed value.
Implementations§
source§impl Text
impl Text
sourcepub fn set_text_overflow(&mut self, v: T)
pub fn set_text_overflow(&mut self, v: T)
Set text-overflow.
sourcepub fn copy_text_overflow_from(&mut self, other: &Self)
pub fn copy_text_overflow_from(&mut self, other: &Self)
Set text-overflow from other struct.
sourcepub fn reset_text_overflow(&mut self, other: &Self)
pub fn reset_text_overflow(&mut self, other: &Self)
Reset text-overflow from the initial struct.
sourcepub fn clone_text_overflow(&self) -> T
pub fn clone_text_overflow(&self) -> T
Get the computed value for text-overflow.
sourcepub fn set_unicode_bidi(&mut self, v: T)
pub fn set_unicode_bidi(&mut self, v: T)
Set unicode-bidi.
sourcepub fn copy_unicode_bidi_from(&mut self, other: &Self)
pub fn copy_unicode_bidi_from(&mut self, other: &Self)
Set unicode-bidi from other struct.
sourcepub fn reset_unicode_bidi(&mut self, other: &Self)
pub fn reset_unicode_bidi(&mut self, other: &Self)
Reset unicode-bidi from the initial struct.
sourcepub fn clone_unicode_bidi(&self) -> T
pub fn clone_unicode_bidi(&self) -> T
Get the computed value for unicode-bidi.
sourcepub fn set_text_decoration_line(&mut self, v: T)
pub fn set_text_decoration_line(&mut self, v: T)
Set text-decoration-line.
sourcepub fn copy_text_decoration_line_from(&mut self, other: &Self)
pub fn copy_text_decoration_line_from(&mut self, other: &Self)
Set text-decoration-line from other struct.
sourcepub fn reset_text_decoration_line(&mut self, other: &Self)
pub fn reset_text_decoration_line(&mut self, other: &Self)
Reset text-decoration-line from the initial struct.
sourcepub fn clone_text_decoration_line(&self) -> T
pub fn clone_text_decoration_line(&self) -> T
Get the computed value for text-decoration-line.
sourcepub fn set_text_decoration_style(&mut self, v: T)
pub fn set_text_decoration_style(&mut self, v: T)
Set text-decoration-style.
sourcepub fn copy_text_decoration_style_from(&mut self, other: &Self)
pub fn copy_text_decoration_style_from(&mut self, other: &Self)
Set text-decoration-style from other struct.
sourcepub fn reset_text_decoration_style(&mut self, other: &Self)
pub fn reset_text_decoration_style(&mut self, other: &Self)
Reset text-decoration-style from the initial struct.
sourcepub fn clone_text_decoration_style(&self) -> T
pub fn clone_text_decoration_style(&self) -> T
Get the computed value for text-decoration-style.
sourcepub fn set_text_decoration_color(&mut self, v: T)
pub fn set_text_decoration_color(&mut self, v: T)
Set text-decoration-color.
sourcepub fn copy_text_decoration_color_from(&mut self, other: &Self)
pub fn copy_text_decoration_color_from(&mut self, other: &Self)
Set text-decoration-color from other struct.
sourcepub fn reset_text_decoration_color(&mut self, other: &Self)
pub fn reset_text_decoration_color(&mut self, other: &Self)
Reset text-decoration-color from the initial struct.
sourcepub fn clone_text_decoration_color(&self) -> T
pub fn clone_text_decoration_color(&self) -> T
Get the computed value for text-decoration-color.