Struct mupdf::display_list::DisplayList
source · pub struct DisplayList { /* private fields */ }
Implementations§
source§impl DisplayList
impl DisplayList
pub fn new(media_box: Rect) -> Result<Self, Error>
pub fn bounds(&self) -> Rect
pub fn to_pixmap( &self, ctm: &Matrix, cs: &Colorspace, alpha: bool ) -> Result<Pixmap, Error>
pub fn to_text_page(&self, opts: TextPageOptions) -> Result<TextPage, Error>
pub fn to_image(&self, width: f32, height: f32) -> Result<Image, Error>
pub fn run( &self, device: &Device, ctm: &Matrix, area: Rect ) -> Result<(), Error>
pub fn is_empty(&self) -> bool
pub fn search(&self, needle: &str, hit_max: u32) -> Result<Vec<Quad>, Error>
Trait Implementations§
source§impl Debug for DisplayList
impl Debug for DisplayList
source§impl Drop for DisplayList
impl Drop for DisplayList
impl Send for DisplayList
impl Sync for DisplayList
Auto Trait Implementations§
impl Freeze for DisplayList
impl RefUnwindSafe for DisplayList
impl Unpin for DisplayList
impl UnwindSafe for DisplayList
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more