[−][src]Struct pdf_extract::PlainTextOutput
Methods
impl<W: ConvertToFmt> PlainTextOutput<W>
[src]
pub fn new(writer: W) -> PlainTextOutput<W>
[src]
Trait Implementations
impl<W: ConvertToFmt> OutputDev for PlainTextOutput<W>
[src]
fn begin_page(
&mut self,
_page_num: u32,
media_box: &MediaBox,
_: Option<(f64, f64, f64, f64)>
) -> Result<(), OutputError>
[src]
&mut self,
_page_num: u32,
media_box: &MediaBox,
_: Option<(f64, f64, f64, f64)>
) -> Result<(), OutputError>
fn end_page(&mut self) -> Result<(), OutputError>
[src]
fn output_character(
&mut self,
trm: &Transform,
width: f64,
_spacing: f64,
font_size: f64,
char: &str
) -> Result<(), OutputError>
[src]
&mut self,
trm: &Transform,
width: f64,
_spacing: f64,
font_size: f64,
char: &str
) -> Result<(), OutputError>
fn begin_word(&mut self) -> Result<(), OutputError>
[src]
fn end_word(&mut self) -> Result<(), OutputError>
[src]
fn end_line(&mut self) -> Result<(), OutputError>
[src]
fn stroke(
&mut self,
_ctm: &Transform,
_colorspace: &ColorSpace,
_color: &[f64],
_path: &Path
) -> Result<(), OutputError>
[src]
&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>
[src]
&mut self,
_ctm: &Transform,
_colorspace: &ColorSpace,
_color: &[f64],
_path: &Path
) -> Result<(), OutputError>
Auto Trait Implementations
impl<W> RefUnwindSafe for PlainTextOutput<W> where
<W as ConvertToFmt>::Writer: RefUnwindSafe,
<W as ConvertToFmt>::Writer: RefUnwindSafe,
impl<W> Send for PlainTextOutput<W> where
<W as ConvertToFmt>::Writer: Send,
<W as ConvertToFmt>::Writer: Send,
impl<W> Sync for PlainTextOutput<W> where
<W as ConvertToFmt>::Writer: Sync,
<W as ConvertToFmt>::Writer: Sync,
impl<W> Unpin for PlainTextOutput<W> where
<W as ConvertToFmt>::Writer: Unpin,
<W as ConvertToFmt>::Writer: Unpin,
impl<W> UnwindSafe for PlainTextOutput<W> where
<W as ConvertToFmt>::Writer: UnwindSafe,
<W as ConvertToFmt>::Writer: UnwindSafe,
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,
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.
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>,