pub enum ChunkItemKind {
Text,
Table,
Picture,
}Expand description
What kind of document item a ChunkItem points at — only what the
hybrid splitting logic needs to know.
Variants§
Text
A text-ish item (paragraph, list item, code, formula, caption, …).
Table
A table item (single-item oversized chunks re-split per line, repeating docling’s header handling).
Picture
A picture item.
Trait Implementations§
Source§impl Clone for ChunkItemKind
impl Clone for ChunkItemKind
Source§fn clone(&self) -> ChunkItemKind
fn clone(&self) -> ChunkItemKind
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 moreimpl Copy for ChunkItemKind
Source§impl Debug for ChunkItemKind
impl Debug for ChunkItemKind
impl Eq for ChunkItemKind
Source§impl PartialEq for ChunkItemKind
impl PartialEq for ChunkItemKind
impl StructuralPartialEq for ChunkItemKind
Auto Trait Implementations§
impl Freeze for ChunkItemKind
impl RefUnwindSafe for ChunkItemKind
impl Send for ChunkItemKind
impl Sync for ChunkItemKind
impl Unpin for ChunkItemKind
impl UnsafeUnpin for ChunkItemKind
impl UnwindSafe for ChunkItemKind
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.