pub struct DocumentCompatibilitySettings {Show 15 fields
pub adjust_line_height_in_table: Option<bool>,
pub no_leading: Option<bool>,
pub suppress_top_spacing_wp: Option<bool>,
pub truncate_font_heights_like_wp6: Option<bool>,
pub no_extra_line_spacing: Option<bool>,
pub space_for_ul: Option<bool>,
pub suppress_bottom_spacing: Option<bool>,
pub compatibility_mode: Option<i64>,
pub enable_open_type_features: Option<bool>,
pub suppress_spacing_before_after_page_break: Option<bool>,
pub use_printer_metrics: Option<bool>,
pub use_fixed_html_paragraph_spacing: Option<bool>,
pub do_not_break_wrapped_tables: Option<bool>,
pub do_not_break_constrained_forced_table: Option<bool>,
pub even_and_odd_headers: Option<bool>,
}Expand description
Mirrors TypeScript DocumentCompatibilitySettings.
Fields§
§adjust_line_height_in_table: Option<bool>§no_leading: Option<bool>§suppress_top_spacing_wp: Option<bool>§truncate_font_heights_like_wp6: Option<bool>§no_extra_line_spacing: Option<bool>§space_for_ul: Option<bool>§suppress_bottom_spacing: Option<bool>§compatibility_mode: Option<i64>§enable_open_type_features: Option<bool>§suppress_spacing_before_after_page_break: Option<bool>§use_printer_metrics: Option<bool>§use_fixed_html_paragraph_spacing: Option<bool>§do_not_break_wrapped_tables: Option<bool>§do_not_break_constrained_forced_table: Option<bool>§even_and_odd_headers: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocumentCompatibilitySettings
impl<'de> Deserialize<'de> for DocumentCompatibilitySettings
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
impl StructuralPartialEq for DocumentCompatibilitySettings
Auto Trait Implementations§
impl Freeze for DocumentCompatibilitySettings
impl RefUnwindSafe for DocumentCompatibilitySettings
impl Send for DocumentCompatibilitySettings
impl Sync for DocumentCompatibilitySettings
impl Unpin for DocumentCompatibilitySettings
impl UnsafeUnpin for DocumentCompatibilitySettings
impl UnwindSafe for DocumentCompatibilitySettings
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