pub struct PartialParagraph {
pub raw_text: String,
pub line_count: usize,
}Expand description
A paragraph (or paragraph fragment) at a page boundary together with the
number of justified output lines it occupies when laid out alone. The
line_count lets a consumer splice a re-justified seam back into the
page’s lines by replacing exactly the partial’s worth of lines.
Fields§
§raw_text: String§line_count: usizeAuto Trait Implementations§
impl Freeze for PartialParagraph
impl RefUnwindSafe for PartialParagraph
impl Send for PartialParagraph
impl Sync for PartialParagraph
impl Unpin for PartialParagraph
impl UnsafeUnpin for PartialParagraph
impl UnwindSafe for PartialParagraph
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