pub struct TableCellProperties {
pub width: Option<u32>,
pub grid_span: Option<u32>,
pub borders: Option<TableBorders>,
pub background_color: Option<String>,
}Expand description
Properties attached to a table cell.
Fields§
§width: Option<u32>Optional cell width in DXA units.
grid_span: Option<u32>Optional grid span.
borders: Option<TableBorders>Optional cell borders.
background_color: Option<String>Optional cell background color in hexadecimal RGB form.
Trait Implementations§
Source§impl Clone for TableCellProperties
impl Clone for TableCellProperties
Source§fn clone(&self) -> TableCellProperties
fn clone(&self) -> TableCellProperties
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TableCellProperties
impl Debug for TableCellProperties
Source§impl Default for TableCellProperties
impl Default for TableCellProperties
Source§fn default() -> TableCellProperties
fn default() -> TableCellProperties
Returns the “default value” for a type. Read more
impl Eq for TableCellProperties
Source§impl PartialEq for TableCellProperties
impl PartialEq for TableCellProperties
impl StructuralPartialEq for TableCellProperties
Auto Trait Implementations§
impl Freeze for TableCellProperties
impl RefUnwindSafe for TableCellProperties
impl Send for TableCellProperties
impl Sync for TableCellProperties
impl Unpin for TableCellProperties
impl UnsafeUnpin for TableCellProperties
impl UnwindSafe for TableCellProperties
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.