pub struct DocumentWriter { /* private fields */ }Implementations§
Source§impl DocumentWriter
impl DocumentWriter
pub fn new<P: AsRef<FilePath> + ?Sized>( filename: &P, format: &str, options: &str, ) -> Result<Self, Error>
pub fn with_ocr<P: AsRef<FilePath> + ?Sized>( path: &P, options: &str, ) -> Result<Self, Error>
pub fn begin_page(&mut self, media_box: Rect) -> Result<Device, Error>
pub fn end_page(&mut self, device: Device) -> Result<(), Error>
Trait Implementations§
Source§impl Debug for DocumentWriter
impl Debug for DocumentWriter
Auto Trait Implementations§
impl Freeze for DocumentWriter
impl RefUnwindSafe for DocumentWriter
impl !Send for DocumentWriter
impl !Sync for DocumentWriter
impl Unpin for DocumentWriter
impl UnwindSafe for DocumentWriter
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