Struct mupdf::display_list::DisplayList [−][src]
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]
&self,
ctm: &Matrix,
cs: &Colorspace,
alpha: bool
) -> Result<Pixmap, Error>
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]
&self,
device: &Device,
ctm: &Matrix,
area: Rect
) -> Result<(), Error>
pub fn run_with_cookie(
&self,
device: &Device,
ctm: &Matrix,
area: Rect,
cookie: &Cookie
) -> Result<(), Error>
[src]
&self,
device: &Device,
ctm: &Matrix,
area: Rect,
cookie: &Cookie
) -> Result<(), Error>
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]
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,
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, 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>,