Struct style::properties::style_structs::Text
[−]
[src]
pub struct Text {
pub text_overflow: T,
pub unicode_bidi: T,
pub text_decoration_line: T,
}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.
Methods
impl Text[src]
pub fn set_text_overflow(&mut self, v: T)[src]
Set text-overflow.
pub fn copy_text_overflow_from(&mut self, other: &Self)[src]
Set text-overflow from other struct.
pub fn reset_text_overflow(&mut self, other: &Self)[src]
Reset text-overflow from the initial struct.
pub fn clone_text_overflow(&self) -> T[src]
Get the computed value for text-overflow.
pub fn set_unicode_bidi(&mut self, v: T)[src]
Set unicode-bidi.
pub fn copy_unicode_bidi_from(&mut self, other: &Self)[src]
Set unicode-bidi from other struct.
pub fn reset_unicode_bidi(&mut self, other: &Self)[src]
Reset unicode-bidi from the initial struct.
pub fn clone_unicode_bidi(&self) -> T[src]
Get the computed value for unicode-bidi.
pub fn set_text_decoration_line(&mut self, v: T)[src]
Set text-decoration-line.
pub fn copy_text_decoration_line_from(&mut self, other: &Self)[src]
Set text-decoration-line from other struct.
pub fn reset_text_decoration_line(&mut self, other: &Self)[src]
Reset text-decoration-line from the initial struct.
pub fn clone_text_decoration_line(&self) -> T[src]
Get the computed value for text-decoration-line.
pub fn has_underline(&self) -> bool[src]
Whether the text decoration has an underline.
pub fn has_overline(&self) -> bool[src]
Whether the text decoration has an overline.
pub fn has_line_through(&self) -> bool[src]
Whether the text decoration has a line through.
Trait Implementations
impl Clone for Text[src]
fn clone(&self) -> Text[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Text[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for Text[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more