Struct style::properties::generated::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.
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.
Set caption-side.
Set caption-side from other struct.
Reset caption-side from the initial struct.
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 for InheritedTable
impl PartialEq for InheritedTable
impl StructuralPartialEq for InheritedTable
Auto Trait Implementations§
impl Freeze for InheritedTable
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
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