pub enum TextMarkupVariant {
Highlight,
Underline,
Squiggly,
StrikeOut,
}Expand description
Text-markup variant tag for AnnotationKind::TextMarkup.
Variants§
Trait Implementations§
Source§impl Clone for TextMarkupVariant
impl Clone for TextMarkupVariant
Source§fn clone(&self) -> TextMarkupVariant
fn clone(&self) -> TextMarkupVariant
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 moreimpl Copy for TextMarkupVariant
Source§impl Debug for TextMarkupVariant
impl Debug for TextMarkupVariant
impl Eq for TextMarkupVariant
Source§impl PartialEq for TextMarkupVariant
impl PartialEq for TextMarkupVariant
Source§fn eq(&self, other: &TextMarkupVariant) -> bool
fn eq(&self, other: &TextMarkupVariant) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextMarkupVariant
Auto Trait Implementations§
impl Freeze for TextMarkupVariant
impl RefUnwindSafe for TextMarkupVariant
impl Send for TextMarkupVariant
impl Sync for TextMarkupVariant
impl Unpin for TextMarkupVariant
impl UnsafeUnpin for TextMarkupVariant
impl UnwindSafe for TextMarkupVariant
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