pub struct Page { /* private fields */ }
Implementations§
source§impl Page
impl Page
pub fn bounds(&self) -> Result<Rect, Error>
pub fn to_pixmap( &self, ctm: &Matrix, cs: &Colorspace, alpha: f32, show_extras: bool ) -> Result<Pixmap, Error>
pub fn to_svg(&self, ctm: &Matrix) -> Result<String, Error>
pub fn to_text_page(&self, opts: TextPageOptions) -> Result<TextPage, Error>
pub fn to_display_list(&self, annotations: bool) -> Result<DisplayList, Error>
pub fn run(&self, device: &Device, ctm: &Matrix) -> Result<(), Error>
pub fn run_contents(&self, device: &Device, ctm: &Matrix) -> Result<(), Error>
pub fn run_annotations( &self, device: &Device, ctm: &Matrix ) -> Result<(), Error>
pub fn run_widgets(&self, device: &Device, ctm: &Matrix) -> Result<(), Error>
pub fn to_html(&self) -> Result<String, Error>
pub fn stext_page_as_json_from_page(&self, scale: f32) -> Result<String, Error>
pub fn to_xhtml(&self) -> Result<String, Error>
pub fn to_xml(&self) -> Result<String, Error>
pub fn to_text(&self) -> Result<String, Error>
pub fn links(&self) -> Result<LinkIter, Error>
pub fn separations(&self) -> Result<Separations, Error>
pub fn search(&self, needle: &str, hit_max: u32) -> Result<Vec<Quad>, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl !Send for Page
impl !Sync for Page
impl Unpin for Page
impl UnwindSafe for Page
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