pub struct UnwrapResult {
pub content: String,
pub paragraphs_unwrapped: usize,
pub line_breaks_removed: usize,
}Expand description
Result of applying the Markdown prose unwrap pass.
Fields§
§content: StringThe rewritten document.
paragraphs_unwrapped: usizeHow many paragraphs were joined.
line_breaks_removed: usizeHow many manual line breaks were removed.
Trait Implementations§
Source§impl Clone for UnwrapResult
impl Clone for UnwrapResult
Source§fn clone(&self) -> UnwrapResult
fn clone(&self) -> UnwrapResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnwrapResult
impl Debug for UnwrapResult
impl Eq for UnwrapResult
Source§impl PartialEq for UnwrapResult
impl PartialEq for UnwrapResult
impl StructuralPartialEq for UnwrapResult
Auto Trait Implementations§
impl Freeze for UnwrapResult
impl RefUnwindSafe for UnwrapResult
impl Send for UnwrapResult
impl Sync for UnwrapResult
impl Unpin for UnwrapResult
impl UnsafeUnpin for UnwrapResult
impl UnwindSafe for UnwrapResult
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