pub struct PdfDocumentFindPageMatch {
pub page_index: usize,
pub ranges: Vec<PdfTextRange>,
}Available on crate feature
async only.Expand description
One page of a match snapshot emitted by PdfDocumentFindStream.
Fields§
§page_index: usizeZero-based page index in the searched document.
ranges: Vec<PdfTextRange>Text ranges within that page that belong to the match.
Trait Implementations§
Source§impl Clone for PdfDocumentFindPageMatch
impl Clone for PdfDocumentFindPageMatch
Source§fn clone(&self) -> PdfDocumentFindPageMatch
fn clone(&self) -> PdfDocumentFindPageMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PdfDocumentFindPageMatch
impl Debug for PdfDocumentFindPageMatch
Source§impl<'de> Deserialize<'de> for PdfDocumentFindPageMatch
impl<'de> Deserialize<'de> for PdfDocumentFindPageMatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PdfDocumentFindPageMatch
impl PartialEq for PdfDocumentFindPageMatch
Source§fn eq(&self, other: &PdfDocumentFindPageMatch) -> bool
fn eq(&self, other: &PdfDocumentFindPageMatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PdfDocumentFindPageMatch
impl StructuralPartialEq for PdfDocumentFindPageMatch
Auto Trait Implementations§
impl Freeze for PdfDocumentFindPageMatch
impl RefUnwindSafe for PdfDocumentFindPageMatch
impl Send for PdfDocumentFindPageMatch
impl Sync for PdfDocumentFindPageMatch
impl Unpin for PdfDocumentFindPageMatch
impl UnsafeUnpin for PdfDocumentFindPageMatch
impl UnwindSafe for PdfDocumentFindPageMatch
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