Struct style::properties::style_structs::InheritedTable
[−]
[src]
pub struct InheritedTable { pub border_collapse: T, pub empty_cells: T, pub caption_side: T, pub border_spacing: T, }
The InheritedTable style struct.
Fields
border_collapse: T
The border-collapse computed value.
empty_cells: T
The empty-cells computed value.
caption_side: T
The caption-side computed value.
border_spacing: T
The border-spacing computed value.
Methods
impl InheritedTable
[src]
pub fn set_border_collapse(&mut self, v: T)
[src]
Set border-collapse.
pub fn copy_border_collapse_from(&mut self, other: &Self)
[src]
Set border-collapse from other struct.
pub fn reset_border_collapse(&mut self, other: &Self)
[src]
Reset border-collapse from the initial struct.
pub fn clone_border_collapse(&self) -> T
[src]
Get the computed value for border-collapse.
pub fn set_empty_cells(&mut self, v: T)
[src]
Set empty-cells.
pub fn copy_empty_cells_from(&mut self, other: &Self)
[src]
Set empty-cells from other struct.
pub fn reset_empty_cells(&mut self, other: &Self)
[src]
Reset empty-cells from the initial struct.
pub fn clone_empty_cells(&self) -> T
[src]
Get the computed value for empty-cells.
pub fn set_caption_side(&mut self, v: T)
[src]
Set caption-side.
pub fn copy_caption_side_from(&mut self, other: &Self)
[src]
Set caption-side from other struct.
pub fn reset_caption_side(&mut self, other: &Self)
[src]
Reset caption-side from the initial struct.
pub fn clone_caption_side(&self) -> T
[src]
Get the computed value for caption-side.
pub fn set_border_spacing(&mut self, v: T)
[src]
Set border-spacing.
pub fn copy_border_spacing_from(&mut self, other: &Self)
[src]
Set border-spacing from other struct.
pub fn reset_border_spacing(&mut self, other: &Self)
[src]
Reset border-spacing from the initial struct.
pub fn clone_border_spacing(&self) -> T
[src]
Get the computed value for border-spacing.
Trait Implementations
impl Clone for InheritedTable
[src]
fn clone(&self) -> InheritedTable
[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 InheritedTable
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for InheritedTable
[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 InheritedTable
[src]
fn eq(&self, __arg_0: &InheritedTable) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InheritedTable) -> bool
[src]
This method tests for !=
.