pub struct TableStyle {Show 19 fields
pub style_id: Option<String>,
pub source_style_id: Option<String>,
pub width_twips: Option<i64>,
pub preferred_width: Option<TablePreferredWidth>,
pub source_width: Option<TableWidthSource>,
pub alignment: Option<TableAlignment>,
pub source_alignment: Option<TableAlignment>,
pub source_inherited_alignment: Option<TableAlignment>,
pub bidi_visual: Option<bool>,
pub source_bidi_visual: Option<bool>,
pub source_inherited_bidi_visual: Option<bool>,
pub indent_twips: Option<i64>,
pub layout: Option<TableLayout>,
pub cell_spacing_twips: Option<i64>,
pub cell_margin_twips: Option<TableBoxSpacing>,
pub column_widths_twips: Option<Vec<i64>>,
pub collapsed_grid_columns: Option<Vec<usize>>,
pub borders: Option<TableBorderSet>,
pub floating: Option<TableFloating>,
}Expand description
Mirrors TypeScript TableStyle.
Fields§
§style_id: Option<String>§source_style_id: Option<String>§width_twips: Option<i64>§preferred_width: Option<TablePreferredWidth>§source_width: Option<TableWidthSource>§alignment: Option<TableAlignment>§source_alignment: Option<TableAlignment>§source_inherited_alignment: Option<TableAlignment>§bidi_visual: Option<bool>§source_bidi_visual: Option<bool>§source_inherited_bidi_visual: Option<bool>§indent_twips: Option<i64>§layout: Option<TableLayout>§cell_spacing_twips: Option<i64>§cell_margin_twips: Option<TableBoxSpacing>§column_widths_twips: Option<Vec<i64>>§collapsed_grid_columns: Option<Vec<usize>>Logical intervals with coincident physical boundaries. Project these columns for layout and materialize them before structural edits.
borders: Option<TableBorderSet>§floating: Option<TableFloating>Trait Implementations§
Source§impl Clone for TableStyle
impl Clone for TableStyle
Source§impl Debug for TableStyle
impl Debug for TableStyle
Source§impl<'de> Deserialize<'de> for TableStyle
impl<'de> Deserialize<'de> for TableStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TableStyle
impl PartialEq for TableStyle
Source§impl Serialize for TableStyle
impl Serialize for TableStyle
impl StructuralPartialEq for TableStyle
Auto Trait Implementations§
impl Freeze for TableStyle
impl RefUnwindSafe for TableStyle
impl Send for TableStyle
impl Sync for TableStyle
impl Unpin for TableStyle
impl UnsafeUnpin for TableStyle
impl UnwindSafe for TableStyle
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 more