[][src]Struct pdf::object::StreamInfo

pub struct StreamInfo<I> {
    pub filters: Vec<StreamFilter>,
    pub file: Option<FileSpec>,
    pub file_filters: Vec<StreamFilter>,
    // some fields omitted
}

General stream type. I is the additional information to be read from the stream dict.

Fields

filters: Vec<StreamFilter>

Filters that the data is currently encoded with (corresponds to both /Filter and /DecodeParms in the PDF specs), constructed in from_primitive().

file: Option<FileSpec>

Eventual file containing the stream contentst

file_filters: Vec<StreamFilter>

Filters to apply to external file specified in file.

Implementations

impl<T> StreamInfo<T>[src]

pub fn get_filters(&self) -> &[StreamFilter]

Notable traits for &'_ mut [u8]

impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
[src]

Trait Implementations

impl<I: Clone> Clone for StreamInfo<I>[src]

impl<I: Debug> Debug for StreamInfo<I>[src]

impl<I: Default> Default for StreamInfo<I>[src]

impl<I> Deref for StreamInfo<I>[src]

type Target = I

The resulting type after dereferencing.

impl<T: Object> Object for StreamInfo<T>[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for StreamInfo<I> where
    I: RefUnwindSafe
[src]

impl<I> Send for StreamInfo<I> where
    I: Send
[src]

impl<I> !Sync for StreamInfo<I>[src]

impl<I> Unpin for StreamInfo<I> where
    I: Unpin
[src]

impl<I> UnwindSafe for StreamInfo<I> where
    I: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AnyObject for T where
    T: Object + 'static, 
[src]

impl<T> Backend for T where
    T: Deref<Target = [u8]>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.