[][src]Struct pdf::xref::XRefTable

pub struct XRefTable { /* fields omitted */ }

Runtime lookup table of all objects

Implementations

impl XRefTable[src]

pub fn new(num_objects: ObjNr) -> XRefTable[src]

pub fn iter(&self) -> ObjectNrIter<'_>

Notable traits for ObjectNrIter<'a>

impl<'a> Iterator for ObjectNrIter<'a> type Item = u32;
[src]

pub fn get(&self, id: ObjNr) -> Result<XRef>[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn push(&mut self, new_entry: XRef)[src]

pub fn num_entries(&self) -> usize[src]

pub fn add_entries_from(&mut self, section: XRefSection)[src]

Trait Implementations

impl Debug for XRefTable[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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, 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.