pub struct ParagraphConfig {
pub min_blank_lines: usize,
pub detect_headings: bool,
pub detect_lists: bool,
}Expand description
Configuration for paragraph detection.
Fields§
§min_blank_lines: usizeNumber of consecutive blank lines required to start a new paragraph.
detect_headings: boolEnable detection of Markdown-like headings (#, ##, …).
detect_lists: boolEnable detection of list items (-, *, 1.).
Trait Implementations§
Source§impl Clone for ParagraphConfig
impl Clone for ParagraphConfig
Source§fn clone(&self) -> ParagraphConfig
fn clone(&self) -> ParagraphConfig
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 ParagraphConfig
impl Debug for ParagraphConfig
Auto Trait Implementations§
impl Freeze for ParagraphConfig
impl RefUnwindSafe for ParagraphConfig
impl Send for ParagraphConfig
impl Sync for ParagraphConfig
impl Unpin for ParagraphConfig
impl UnsafeUnpin for ParagraphConfig
impl UnwindSafe for ParagraphConfig
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