pub struct XRefStreamBuilder { /* private fields */ }Expand description
XRef stream builder for creating new xref streams
Implementations§
Source§impl XRefStreamBuilder
impl XRefStreamBuilder
Sourcepub fn add_trailer_entry(&mut self, key: &str, value: PdfObject)
pub fn add_trailer_entry(&mut self, key: &str, value: PdfObject)
Add a trailer dictionary entry
Sourcepub fn build(self) -> ParseResult<(PdfDictionary, Vec<u8>)>
pub fn build(self) -> ParseResult<(PdfDictionary, Vec<u8>)>
Build the xref stream
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XRefStreamBuilder
impl RefUnwindSafe for XRefStreamBuilder
impl Send for XRefStreamBuilder
impl Sync for XRefStreamBuilder
impl Unpin for XRefStreamBuilder
impl UnsafeUnpin for XRefStreamBuilder
impl UnwindSafe for XRefStreamBuilder
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