pub struct LegacyRun<'a> {
pub text: &'a mut String,
pub renders_text: bool,
pub plain: bool,
pub empty_plain: bool,
}Expand description
One child of an inline group, as separate_legacy_runs sees it.
Fields§
§text: &'a mut StringThe run’s own text (empty for a nested group or an empty host).
renders_text: boolWhether the run or its subtree renders any text — docling-core’s
renders_text; a run that does not takes no part in the join.
plain: boolA plain text run (not code, not a formula, and with no children of its own): only such a run with text takes the separator.
empty_plain: boolAn empty plain text run without children — the separator a 1.11 →
1.10 projection stripped, refilled instead of inserting another.
Auto Trait Implementations§
impl<'a> !UnwindSafe for LegacyRun<'a>
impl<'a> Forget for LegacyRun<'a>
impl<'a> Freeze for LegacyRun<'a>
impl<'a> RefUnwindSafe for LegacyRun<'a>
impl<'a> Send for LegacyRun<'a>
impl<'a> Sync for LegacyRun<'a>
impl<'a> Unpin for LegacyRun<'a>
impl<'a> UnsafeUnpin for LegacyRun<'a>
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