pub struct PdfTextBackend { /* private fields */ }Expand description
兜底后端 v1:pdf-extract(纯 Rust,无 dylib;CJK 无 ToUnicode 局限)。
Implementations§
Source§impl PdfTextBackend
impl PdfTextBackend
Sourcepub fn with_options(self, options: PdfOptions) -> Self
pub fn with_options(self, options: PdfOptions) -> Self
指定解析选项(链式);本后端只用到 max_pages。
Trait Implementations§
Source§impl Clone for PdfTextBackend
impl Clone for PdfTextBackend
Source§impl Debug for PdfTextBackend
impl Debug for PdfTextBackend
Source§impl Default for PdfTextBackend
impl Default for PdfTextBackend
Auto Trait Implementations§
impl Freeze for PdfTextBackend
impl RefUnwindSafe for PdfTextBackend
impl Send for PdfTextBackend
impl Sync for PdfTextBackend
impl Unpin for PdfTextBackend
impl UnsafeUnpin for PdfTextBackend
impl UnwindSafe for PdfTextBackend
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more