pub struct ObjectStream { /* private fields */ }Expand description
Represents a PDF object stream containing compressed objects
Implementations§
Source§impl ObjectStream
impl ObjectStream
Sourcepub fn parse(stream: PdfStream, options: &ParseOptions) -> ParseResult<Self>
pub fn parse(stream: PdfStream, options: &ParseOptions) -> ParseResult<Self>
Parse an object stream
Sourcepub fn get_object(&self, obj_num: u32) -> Option<&PdfObject>
pub fn get_object(&self, obj_num: u32) -> Option<&PdfObject>
Get an object by its object number
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObjectStream
impl RefUnwindSafe for ObjectStream
impl Send for ObjectStream
impl Sync for ObjectStream
impl Unpin for ObjectStream
impl UnwindSafe for ObjectStream
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