Struct style::properties::style_structs::InheritedTable
source · pub struct InheritedTable {
pub border_collapse: T,
pub empty_cells: T,
pub caption_side: T,
pub border_spacing: T,
}
Expand description
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.
Implementations§
source§impl InheritedTable
impl InheritedTable
sourcepub fn set_border_collapse(&mut self, v: T)
pub fn set_border_collapse(&mut self, v: T)
Set border-collapse.
sourcepub fn copy_border_collapse_from(&mut self, other: &Self)
pub fn copy_border_collapse_from(&mut self, other: &Self)
Set border-collapse from other struct.
sourcepub fn reset_border_collapse(&mut self, other: &Self)
pub fn reset_border_collapse(&mut self, other: &Self)
Reset border-collapse from the initial struct.
sourcepub fn clone_border_collapse(&self) -> T
pub fn clone_border_collapse(&self) -> T
Get the computed value for border-collapse.
sourcepub fn set_empty_cells(&mut self, v: T)
pub fn set_empty_cells(&mut self, v: T)
Set empty-cells.
sourcepub fn copy_empty_cells_from(&mut self, other: &Self)
pub fn copy_empty_cells_from(&mut self, other: &Self)
Set empty-cells from other struct.
sourcepub fn reset_empty_cells(&mut self, other: &Self)
pub fn reset_empty_cells(&mut self, other: &Self)
Reset empty-cells from the initial struct.
sourcepub fn clone_empty_cells(&self) -> T
pub fn clone_empty_cells(&self) -> T
Get the computed value for empty-cells.
sourcepub fn set_caption_side(&mut self, v: T)
pub fn set_caption_side(&mut self, v: T)
Set caption-side.
sourcepub fn copy_caption_side_from(&mut self, other: &Self)
pub fn copy_caption_side_from(&mut self, other: &Self)
Set caption-side from other struct.
sourcepub fn reset_caption_side(&mut self, other: &Self)
pub fn reset_caption_side(&mut self, other: &Self)
Reset caption-side from the initial struct.
sourcepub fn clone_caption_side(&self) -> T
pub fn clone_caption_side(&self) -> T
Get the computed value for caption-side.
sourcepub fn set_border_spacing(&mut self, v: T)
pub fn set_border_spacing(&mut self, v: T)
Set border-spacing.
sourcepub fn copy_border_spacing_from(&mut self, other: &Self)
pub fn copy_border_spacing_from(&mut self, other: &Self)
Set border-spacing from other struct.
sourcepub fn reset_border_spacing(&mut self, other: &Self)
pub fn reset_border_spacing(&mut self, other: &Self)
Reset border-spacing from the initial struct.
sourcepub fn clone_border_spacing(&self) -> T
pub fn clone_border_spacing(&self) -> T
Get the computed value for border-spacing.
Trait Implementations§
source§impl Clone for InheritedTable
impl Clone for InheritedTable
source§fn clone(&self) -> InheritedTable
fn clone(&self) -> InheritedTable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InheritedTable
impl Debug for InheritedTable
source§impl MallocSizeOf for InheritedTable
impl MallocSizeOf for InheritedTable
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq<InheritedTable> for InheritedTable
impl PartialEq<InheritedTable> for InheritedTable
source§fn eq(&self, other: &InheritedTable) -> bool
fn eq(&self, other: &InheritedTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InheritedTable
Auto Trait Implementations§
impl RefUnwindSafe for InheritedTable
impl Send for InheritedTable
impl Sync for InheritedTable
impl Unpin for InheritedTable
impl UnwindSafe for InheritedTable
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert