pub enum QuoteType {
Strong,
DoubleQuote,
SingleQuote,
Monospaced,
Emphasis,
Mark,
Superscript,
Subscript,
Unquoted,
}Expand description
Specifies which quote type is being rendered.
Variants§
Strong
Strong (often bold) formatting.
DoubleQuote
Word(s) surrounded by smart double quotes.
SingleQuote
Word(s) surrounded by smart single quotes.
Monospaced
Monospace (code) formatting.
Emphasis
Emphasis (often italic) formatting.
Mark
Text range (span) formatted with zero or more styles.
Superscript
Superscript formatting.
Subscript
Subscript formatting.
Unquoted
Surrounds a block of text that may need a <span> or similar tag.
Trait Implementations§
impl Copy for QuoteType
impl Eq for QuoteType
impl StructuralPartialEq for QuoteType
Auto Trait Implementations§
impl Freeze for QuoteType
impl RefUnwindSafe for QuoteType
impl Send for QuoteType
impl Sync for QuoteType
impl Unpin for QuoteType
impl UnwindSafe for QuoteType
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