Struct mupdf::page::Page[][src]

pub struct Page { /* fields omitted */ }

Implementations

impl Page[src]

pub fn bounds(&self) -> Result<Rect, Error>[src]

pub fn to_pixmap(
    &self,
    ctm: &Matrix,
    cs: &Colorspace,
    alpha: f32,
    show_extras: bool
) -> Result<Pixmap, Error>
[src]

pub fn to_svg(&self, ctm: &Matrix) -> Result<String, Error>[src]

pub fn to_text_page(&self, opts: TextPageOptions) -> Result<TextPage, Error>[src]

pub fn to_display_list(&self, annotations: bool) -> Result<DisplayList, Error>[src]

pub fn run(&self, device: &Device, ctm: &Matrix) -> Result<(), Error>[src]

pub fn run_contents(&self, device: &Device, ctm: &Matrix) -> Result<(), Error>[src]

pub fn run_annotations(
    &self,
    device: &Device,
    ctm: &Matrix
) -> Result<(), Error>
[src]

pub fn run_widgets(&self, device: &Device, ctm: &Matrix) -> Result<(), Error>[src]

pub fn to_html(&self) -> Result<String, Error>[src]

pub fn to_xhtml(&self) -> Result<String, Error>[src]

pub fn to_xml(&self) -> Result<String, Error>[src]

pub fn to_text(&self) -> Result<String, Error>[src]

pub fn separations(&self) -> Result<Separations, Error>[src]

pub fn search(&self, needle: &str, hit_max: u32) -> Result<Vec<Quad>, Error>[src]

Trait Implementations

impl Debug for Page[src]

impl Drop for Page[src]

impl From<Page> for PdfPage[src]

Auto Trait Implementations

impl RefUnwindSafe for Page

impl !Send for Page

impl !Sync for Page

impl Unpin for Page

impl UnwindSafe for Page

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, 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.