pub struct Stream {
pub dict: Dict,
pub data: Vec<u8>,
}Expand description
A PDF stream — its dictionary describes the payload and is required
to carry /Length. The serializer fills /Length from data.len()
at write time so callers don’t have to.
Fields§
§dict: Dict§data: Vec<u8>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
impl UnwindSafe for Stream
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