Struct pdf_extract::PlainTextOutput
source · pub struct PlainTextOutput<W: ConvertToFmt> { /* private fields */ }
Implementations§
source§impl<W: ConvertToFmt> PlainTextOutput<W>
impl<W: ConvertToFmt> PlainTextOutput<W>
pub fn new(writer: W) -> PlainTextOutput<W>
Trait Implementations§
source§impl<W: ConvertToFmt> OutputDev for PlainTextOutput<W>
impl<W: ConvertToFmt> OutputDev for PlainTextOutput<W>
fn begin_page( &mut self, _page_num: u32, media_box: &MediaBox, _: Option<(f64, f64, f64, f64)> ) -> Result<(), OutputError>
fn end_page(&mut self) -> Result<(), OutputError>
fn output_character( &mut self, trm: &Transform, width: f64, _spacing: f64, font_size: f64, char: &str ) -> Result<(), OutputError>
fn begin_word(&mut self) -> Result<(), OutputError>
fn end_word(&mut self) -> Result<(), OutputError>
fn end_line(&mut self) -> Result<(), OutputError>
fn stroke( &mut self, _ctm: &Transform, _colorspace: &ColorSpace, _color: &[f64], _path: &Path ) -> Result<(), OutputError>
fn fill( &mut self, _ctm: &Transform, _colorspace: &ColorSpace, _color: &[f64], _path: &Path ) -> Result<(), OutputError>
Auto Trait Implementations§
impl<W> Freeze for PlainTextOutput<W>
impl<W> RefUnwindSafe for PlainTextOutput<W>
impl<W> Send for PlainTextOutput<W>
impl<W> Sync for PlainTextOutput<W>
impl<W> Unpin for PlainTextOutput<W>
impl<W> UnwindSafe for PlainTextOutput<W>
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