pub struct ObjectLayoutConfig {
pub max_inline_image_height_ratio: f32,
pub cover_page_mode: CoverPageMode,
pub float_support: FloatSupport,
pub svg_mode: SvgMode,
pub alt_text_fallback: bool,
}Expand description
Non-text object layout policy knobs.
Fields§
§max_inline_image_height_ratio: f32Max inline-image height ratio relative to content height.
cover_page_mode: CoverPageModePolicy for cover-like first-page images.
float_support: FloatSupportEnable/disable float placement.
svg_mode: SvgModeSVG placement mode.
alt_text_fallback: boolEmit alt-text fallback when object drawing is unavailable.
Trait Implementations§
Source§impl Clone for ObjectLayoutConfig
impl Clone for ObjectLayoutConfig
Source§fn clone(&self) -> ObjectLayoutConfig
fn clone(&self) -> ObjectLayoutConfig
Returns a duplicate 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 ObjectLayoutConfig
impl Debug for ObjectLayoutConfig
Source§impl Default for ObjectLayoutConfig
impl Default for ObjectLayoutConfig
Source§impl PartialEq for ObjectLayoutConfig
impl PartialEq for ObjectLayoutConfig
impl Copy for ObjectLayoutConfig
impl StructuralPartialEq for ObjectLayoutConfig
Auto Trait Implementations§
impl Freeze for ObjectLayoutConfig
impl RefUnwindSafe for ObjectLayoutConfig
impl Send for ObjectLayoutConfig
impl Sync for ObjectLayoutConfig
impl Unpin for ObjectLayoutConfig
impl UnsafeUnpin for ObjectLayoutConfig
impl UnwindSafe for ObjectLayoutConfig
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