pub struct ContentChunk {
pub chunk_type: ChunkType,
pub data: Vec<u8>,
pub position: u64,
pub size: usize,
pub page_number: u32,
}Expand description
A chunk of PDF content
Fields§
§chunk_type: ChunkTypeType of content in this chunk
data: Vec<u8>Raw data of the chunk
position: u64Position in the document
size: usizeSize of the chunk
page_number: u32Page number this chunk belongs to
Implementations§
Trait Implementations§
Source§impl Clone for ContentChunk
impl Clone for ContentChunk
Source§fn clone(&self) -> ContentChunk
fn clone(&self) -> ContentChunk
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContentChunk
impl RefUnwindSafe for ContentChunk
impl Send for ContentChunk
impl Sync for ContentChunk
impl Unpin for ContentChunk
impl UnwindSafe for ContentChunk
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