pub struct Stream {
pub dict: Dict,
pub data: Vec<u8>,
}Expand description
A stream: its dictionary plus the raw (still encoded) bytes between stream and endstream.
Added in 0.2.0.
Fields§
§dict: DictThe stream dictionary. /Length is managed by the writer.
data: Vec<u8>Raw stream bytes as stored in the file (encoded by /Filter, if any).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Stream
Auto Trait Implementations§
impl Forget for Stream
impl Freeze for Stream
impl Move for Stream
impl RefUnwindSafe for Stream
impl Send for Streamwhere
RawVecInner: Send,
impl Sync for Streamwhere
RawVecInner: Sync,
impl Unpin for Stream
impl UnsafeUnpin for Streamwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(Name, Object)>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Streamwhere
RawVecInner: UnwindSafe,
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