pub enum TextMarkupType {
Highlight,
Underline,
Squiggly,
StrikeOut,
}Expand description
Text markup annotation type.
Variants§
Highlight
Highlight annotation
Underline
Underline annotation
Squiggly
Squiggly underline annotation
StrikeOut
Strikeout annotation
Implementations§
Source§impl TextMarkupType
impl TextMarkupType
Sourcepub fn subtype(&self) -> AnnotationSubtype
pub fn subtype(&self) -> AnnotationSubtype
Get the annotation subtype.
Sourcepub fn default_color(&self) -> AnnotationColor
pub fn default_color(&self) -> AnnotationColor
Get default color for this markup type.
Trait Implementations§
Source§impl Clone for TextMarkupType
impl Clone for TextMarkupType
impl Copy for TextMarkupType
Source§impl Debug for TextMarkupType
impl Debug for TextMarkupType
impl Eq for TextMarkupType
Source§impl PartialEq for TextMarkupType
impl PartialEq for TextMarkupType
impl StructuralPartialEq for TextMarkupType
Auto Trait Implementations§
impl Freeze for TextMarkupType
impl RefUnwindSafe for TextMarkupType
impl Send for TextMarkupType
impl Sync for TextMarkupType
impl Unpin for TextMarkupType
impl UnsafeUnpin for TextMarkupType
impl UnwindSafe for TextMarkupType
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