pub struct Paragraph {
pub start: usize,
pub end: usize,
pub prefix: Prefix,
pub fillable: bool,
}Expand description
One paragraph found inside a reflow range.
Fields§
§start: usizeIndex of the paragraph’s first line, relative to the range start.
end: usizeOne past the paragraph’s last line, relative to the range start.
prefix: PrefixThe prefix its output lines carry.
fillable: boolWhether this run is fillable at all. Blank lines and fenced code are carried through verbatim; the whole paragraph model stays one list so a consumer cannot forget to re-emit the gaps.
Trait Implementations§
impl Eq for Paragraph
impl StructuralPartialEq for Paragraph
Auto Trait Implementations§
impl Freeze for Paragraph
impl RefUnwindSafe for Paragraph
impl Send for Paragraph
impl Sync for Paragraph
impl Unpin for Paragraph
impl UnsafeUnpin for Paragraph
impl UnwindSafe for Paragraph
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.