pub struct LayoutFeatures {
pub has_headers_footers: bool,
pub has_columns: bool,
pub has_nested_sections: bool,
pub consistent_formatting: bool,
pub content_balance: ContentBalance,
pub complexity_level: ComplexityLevel,
}Expand description
Detected layout features
Fields§
Has headers/footers
has_columns: boolHas multiple columns
has_nested_sections: boolHas nested sections
consistent_formatting: boolHas consistent formatting
content_balance: ContentBalanceText-heavy vs visual-heavy
complexity_level: ComplexityLevelLayout complexity
Trait Implementations§
Source§impl Clone for LayoutFeatures
impl Clone for LayoutFeatures
Source§fn clone(&self) -> LayoutFeatures
fn clone(&self) -> LayoutFeatures
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 LayoutFeatures
impl Debug for LayoutFeatures
Source§impl<'de> Deserialize<'de> for LayoutFeatures
impl<'de> Deserialize<'de> for LayoutFeatures
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
Auto Trait Implementations§
impl Freeze for LayoutFeatures
impl RefUnwindSafe for LayoutFeatures
impl Send for LayoutFeatures
impl Sync for LayoutFeatures
impl Unpin for LayoutFeatures
impl UnwindSafe for LayoutFeatures
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