Struct style::properties::style_structs::InheritedText
[−]
[src]
pub struct InheritedText { pub line_height: T, pub text_transform: T, pub text_indent: T, pub overflow_wrap: T, pub word_break: T, pub text_justify: T, pub text_align: T, pub letter_spacing: T, pub word_spacing: T, pub _servo_text_decorations_in_effect: T, pub white_space: T, pub text_shadow: T, pub text_rendering: T, }
The InheritedText style struct.
Fields
line_height: T
The line-height computed value.
text_transform: T
The text-transform computed value.
text_indent: T
The text-indent computed value.
overflow_wrap: T
The overflow-wrap computed value.
word_break: T
The word-break computed value.
text_justify: T
The text-justify computed value.
text_align: T
The text-align computed value.
letter_spacing: T
The letter-spacing computed value.
word_spacing: T
The word-spacing computed value.
_servo_text_decorations_in_effect: T
The -servo-text-decorations-in-effect computed value.
white_space: T
The white-space computed value.
text_shadow: T
The text-shadow computed value.
text_rendering: T
The text-rendering computed value.
Methods
impl InheritedText
[src]
pub fn set_line_height(&mut self, v: T)
[src]
Set line-height.
pub fn copy_line_height_from(&mut self, other: &Self)
[src]
Set line-height from other struct.
pub fn reset_line_height(&mut self, other: &Self)
[src]
Reset line-height from the initial struct.
pub fn clone_line_height(&self) -> T
[src]
Get the computed value for line-height.
pub fn set_text_transform(&mut self, v: T)
[src]
Set text-transform.
pub fn copy_text_transform_from(&mut self, other: &Self)
[src]
Set text-transform from other struct.
pub fn reset_text_transform(&mut self, other: &Self)
[src]
Reset text-transform from the initial struct.
pub fn clone_text_transform(&self) -> T
[src]
Get the computed value for text-transform.
pub fn set_text_indent(&mut self, v: T)
[src]
Set text-indent.
pub fn copy_text_indent_from(&mut self, other: &Self)
[src]
Set text-indent from other struct.
pub fn reset_text_indent(&mut self, other: &Self)
[src]
Reset text-indent from the initial struct.
pub fn clone_text_indent(&self) -> T
[src]
Get the computed value for text-indent.
pub fn set_overflow_wrap(&mut self, v: T)
[src]
Set overflow-wrap.
pub fn copy_overflow_wrap_from(&mut self, other: &Self)
[src]
Set overflow-wrap from other struct.
pub fn reset_overflow_wrap(&mut self, other: &Self)
[src]
Reset overflow-wrap from the initial struct.
pub fn clone_overflow_wrap(&self) -> T
[src]
Get the computed value for overflow-wrap.
pub fn set_word_break(&mut self, v: T)
[src]
Set word-break.
pub fn copy_word_break_from(&mut self, other: &Self)
[src]
Set word-break from other struct.
pub fn reset_word_break(&mut self, other: &Self)
[src]
Reset word-break from the initial struct.
pub fn clone_word_break(&self) -> T
[src]
Get the computed value for word-break.
pub fn set_text_justify(&mut self, v: T)
[src]
Set text-justify.
pub fn copy_text_justify_from(&mut self, other: &Self)
[src]
Set text-justify from other struct.
pub fn reset_text_justify(&mut self, other: &Self)
[src]
Reset text-justify from the initial struct.
pub fn clone_text_justify(&self) -> T
[src]
Get the computed value for text-justify.
pub fn set_text_align(&mut self, v: T)
[src]
Set text-align.
pub fn copy_text_align_from(&mut self, other: &Self)
[src]
Set text-align from other struct.
pub fn reset_text_align(&mut self, other: &Self)
[src]
Reset text-align from the initial struct.
pub fn clone_text_align(&self) -> T
[src]
Get the computed value for text-align.
pub fn set_letter_spacing(&mut self, v: T)
[src]
Set letter-spacing.
pub fn copy_letter_spacing_from(&mut self, other: &Self)
[src]
Set letter-spacing from other struct.
pub fn reset_letter_spacing(&mut self, other: &Self)
[src]
Reset letter-spacing from the initial struct.
pub fn clone_letter_spacing(&self) -> T
[src]
Get the computed value for letter-spacing.
pub fn set_word_spacing(&mut self, v: T)
[src]
Set word-spacing.
pub fn copy_word_spacing_from(&mut self, other: &Self)
[src]
Set word-spacing from other struct.
pub fn reset_word_spacing(&mut self, other: &Self)
[src]
Reset word-spacing from the initial struct.
pub fn clone_word_spacing(&self) -> T
[src]
Get the computed value for word-spacing.
pub fn set__servo_text_decorations_in_effect(&mut self, v: T)
[src]
Set -servo-text-decorations-in-effect.
pub fn copy__servo_text_decorations_in_effect_from(&mut self, other: &Self)
[src]
Set -servo-text-decorations-in-effect from other struct.
pub fn reset__servo_text_decorations_in_effect(&mut self, other: &Self)
[src]
Reset -servo-text-decorations-in-effect from the initial struct.
pub fn clone__servo_text_decorations_in_effect(&self) -> T
[src]
Get the computed value for -servo-text-decorations-in-effect.
pub fn set_white_space(&mut self, v: T)
[src]
Set white-space.
pub fn copy_white_space_from(&mut self, other: &Self)
[src]
Set white-space from other struct.
pub fn reset_white_space(&mut self, other: &Self)
[src]
Reset white-space from the initial struct.
pub fn clone_white_space(&self) -> T
[src]
Get the computed value for white-space.
pub fn set_text_shadow<I>(&mut self, v: I) where
I: IntoIterator<Item = T>,
I::IntoIter: ExactSizeIterator,
[src]
I: IntoIterator<Item = T>,
I::IntoIter: ExactSizeIterator,
Set text-shadow.
pub fn copy_text_shadow_from(&mut self, other: &Self)
[src]
Set text-shadow from other struct.
pub fn reset_text_shadow(&mut self, other: &Self)
[src]
Reset text-shadow from the initial struct.
pub fn clone_text_shadow(&self) -> T
[src]
Get the computed value for text-shadow.
pub fn set_text_rendering(&mut self, v: T)
[src]
Set text-rendering.
pub fn copy_text_rendering_from(&mut self, other: &Self)
[src]
Set text-rendering from other struct.
pub fn reset_text_rendering(&mut self, other: &Self)
[src]
Reset text-rendering from the initial struct.
pub fn clone_text_rendering(&self) -> T
[src]
Get the computed value for text-rendering.
Trait Implementations
impl Clone for InheritedText
[src]
fn clone(&self) -> InheritedText
[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 InheritedText
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for InheritedText
[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
impl PartialEq for InheritedText
[src]
fn eq(&self, __arg_0: &InheritedText) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InheritedText) -> bool
[src]
This method tests for !=
.