[−][src]Struct pdf::file::File
Fields
trailer: Trailer
Implementations
impl File<Vec<u8>>
[src]
pub fn open(path: impl AsRef<Path>) -> Result<Self>
[src]
Opens the file at path
and uses Vec
impl<B: Backend> File<B>
[src]
pub fn from_data(backend: B) -> Result<Self>
[src]
pub fn get_root(&self) -> &Catalog
[src]
pub fn pages<'a>(&'a self) -> impl Iterator<Item = Result<PageRc>> + 'a
[src]
pub fn num_pages(&self) -> u32
[src]
pub fn get_page(&self, n: u32) -> Result<PageRc>
[src]
Trait Implementations
Auto Trait Implementations
impl<B> !RefUnwindSafe for File<B>
impl<B> !Send for File<B>
impl<B> !Sync for File<B>
impl<B> Unpin for File<B> where
B: Unpin,
B: Unpin,
impl<B> !UnwindSafe for File<B>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
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, 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.
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>,