pub struct ListItemSplit {
pub orig: String,
pub marker: String,
pub text: String,
pub enumerated: bool,
}Expand description
A page pipeline’s list item as docling’s ListItemMarkerProcessor
exports it to JSON (see Node::ListItem::split): the source text
(orig), the marker split off its head (empty when it has none), the
text left, and enumerated for a numbered marker of any spelling (1.,
[1], a), iv.). Plain text, not Markdown-escaped.
Fields§
§orig: String§marker: String§text: String§enumerated: boolTrait Implementations§
Source§impl Clone for ListItemSplit
impl Clone for ListItemSplit
Source§impl Debug for ListItemSplit
impl Debug for ListItemSplit
Source§impl Default for ListItemSplit
impl Default for ListItemSplit
impl Eq for ListItemSplit
Source§impl PartialEq for ListItemSplit
impl PartialEq for ListItemSplit
impl StructuralPartialEq for ListItemSplit
Auto Trait Implementations§
impl Forget for ListItemSplit
impl Freeze for ListItemSplit
impl Move for ListItemSplit
impl RefUnwindSafe for ListItemSplit
impl Send for ListItemSplit
impl Sync for ListItemSplit
impl Unpin for ListItemSplit
impl UnsafeUnpin for ListItemSplit
impl UnwindSafe for ListItemSplit
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.