pub struct PdfStream {
pub dict: IndexMap<Vec<u8>, PdfObject>,
pub data: Vec<u8>,
pub decoded: bool,
}Expand description
A PDF stream object: dictionary + binary data.
Fields§
§dict: IndexMap<Vec<u8>, PdfObject>The stream dictionary (contains /Length, /Filter, etc.)
data: Vec<u8>The raw (possibly still encoded) stream data.
decoded: boolWhether data has been decoded (filters applied).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PdfStream
impl RefUnwindSafe for PdfStream
impl Send for PdfStream
impl Sync for PdfStream
impl Unpin for PdfStream
impl UnsafeUnpin for PdfStream
impl UnwindSafe for PdfStream
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