#[repr(u64)]pub enum PdfSelectionGranularity {
Character = 0,
Word = 1,
Line = 2,
}Expand description
Wraps PDFSelectionGranularity values.
Variants§
Character = 0
Wraps the corresponding PDFSelectionGranularity value.
Word = 1
Wraps the corresponding PDFSelectionGranularity value.
Line = 2
Wraps the corresponding PDFSelectionGranularity value.
Implementations§
Trait Implementations§
Source§impl Clone for PdfSelectionGranularity
impl Clone for PdfSelectionGranularity
Source§fn clone(&self) -> PdfSelectionGranularity
fn clone(&self) -> PdfSelectionGranularity
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 PdfSelectionGranularity
impl Debug for PdfSelectionGranularity
Source§impl PartialEq for PdfSelectionGranularity
impl PartialEq for PdfSelectionGranularity
Source§fn eq(&self, other: &PdfSelectionGranularity) -> bool
fn eq(&self, other: &PdfSelectionGranularity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PdfSelectionGranularity
impl Eq for PdfSelectionGranularity
impl StructuralPartialEq for PdfSelectionGranularity
Auto Trait Implementations§
impl Freeze for PdfSelectionGranularity
impl RefUnwindSafe for PdfSelectionGranularity
impl Send for PdfSelectionGranularity
impl Sync for PdfSelectionGranularity
impl Unpin for PdfSelectionGranularity
impl UnsafeUnpin for PdfSelectionGranularity
impl UnwindSafe for PdfSelectionGranularity
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