Struct mupdf::display_list::DisplayList[][src]

pub struct DisplayList { /* fields omitted */ }

Implementations

impl DisplayList[src]

pub fn new(media_box: Rect) -> Result<Self, Error>[src]

pub fn bounds(&self) -> Rect[src]

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

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

pub fn to_image(&self, width: f32, height: f32) -> Result<Image, Error>[src]

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

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

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

Trait Implementations

impl Debug for DisplayList[src]

impl Drop for DisplayList[src]

impl Send for DisplayList[src]

impl Sync for DisplayList[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, 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.