pub struct ChunkProcessor { /* private fields */ }Expand description
Processes PDF content in chunks
Implementations§
Source§impl ChunkProcessor
impl ChunkProcessor
Sourcepub fn new(options: ChunkOptions) -> Self
pub fn new(options: ChunkOptions) -> Self
Create a new chunk processor
Sourcepub fn process_content(&mut self, content: &[u8]) -> Result<Vec<ContentChunk>>
pub fn process_content(&mut self, content: &[u8]) -> Result<Vec<ContentChunk>>
Process content and yield chunks
Auto Trait Implementations§
impl Freeze for ChunkProcessor
impl RefUnwindSafe for ChunkProcessor
impl Send for ChunkProcessor
impl Sync for ChunkProcessor
impl Unpin for ChunkProcessor
impl UnwindSafe for ChunkProcessor
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