pub enum TextSearchSource {
Description,
Text {
text_type: String,
sort: isize,
},
Footnote {
index: isize,
},
}Expand description
Source table for a TextSearchResult.
Variants§
Description
The result matched a PdgIdEntry::description.
Text
The result matched a text block.
Footnote
The result matched a footnote.
Trait Implementations§
Source§impl Clone for TextSearchSource
impl Clone for TextSearchSource
Source§fn clone(&self) -> TextSearchSource
fn clone(&self) -> TextSearchSource
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 TextSearchSource
impl Debug for TextSearchSource
impl Eq for TextSearchSource
Source§impl PartialEq for TextSearchSource
impl PartialEq for TextSearchSource
Source§fn eq(&self, other: &TextSearchSource) -> bool
fn eq(&self, other: &TextSearchSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextSearchSource
Auto Trait Implementations§
impl Freeze for TextSearchSource
impl RefUnwindSafe for TextSearchSource
impl Send for TextSearchSource
impl Sync for TextSearchSource
impl Unpin for TextSearchSource
impl UnsafeUnpin for TextSearchSource
impl UnwindSafe for TextSearchSource
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