[−][src]Struct pdf::object::StreamInfo
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]ⓘ
[src]
Trait Implementations
impl<I: Clone> Clone for StreamInfo<I>
[src]
fn clone(&self) -> StreamInfo<I>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<I: Debug> Debug for StreamInfo<I>
[src]
impl<I: Default> Default for StreamInfo<I>
[src]
fn default() -> StreamInfo<I>
[src]
impl<I> Deref for StreamInfo<I>
[src]
impl<T: Object> Object for StreamInfo<T>
[src]
Auto Trait Implementations
impl<I> RefUnwindSafe for StreamInfo<I> where
I: RefUnwindSafe,
[src]
I: RefUnwindSafe,
impl<I> Send for StreamInfo<I> where
I: Send,
[src]
I: Send,
impl<I> !Sync for StreamInfo<I>
[src]
impl<I> Unpin for StreamInfo<I> where
I: Unpin,
[src]
I: Unpin,
impl<I> UnwindSafe for StreamInfo<I> where
I: UnwindSafe,
[src]
I: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AnyObject for T where
T: Object + 'static,
[src]
T: Object + 'static,
pub fn serialize(&Self, &mut Vec<u8, Global>)
[src]
pub fn type_name(&Self) -> &'static str
[src]
pub fn type_id(&Self) -> TypeId
[src]
impl<T> Backend for T where
T: Deref<Target = [u8]>,
[src]
T: Deref<Target = [u8]>,
pub fn read<R>(&Self, R) -> Result<&[u8], PdfError> where
R: IndexRange,
[src]
R: IndexRange,
pub fn len(&Self) -> usize
[src]
fn is_empty(&self) -> bool
[src]
fn locate_start_offset(&self) -> Result<usize>
[src]
fn locate_xref_offset(&self) -> Result<usize>
[src]
fn read_xref_table_and_trailer(
&self,
start_offset: usize
) -> Result<(XRefTable, Dictionary)>
[src]
&self,
start_offset: usize
) -> Result<(XRefTable, Dictionary)>
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,