pub enum EscapeTags {
Off,
Backticks,
Entities,
}Expand description
How to rewrite HTML-like tags in leading-comment prose.
Renderer-local option; not serialized on the wire.
Variants§
Off
Leave tags unchanged.
Backticks
Wrap tags in Markdown backticks.
Entities
Escape tags as HTML entities.
Trait Implementations§
Source§impl Clone for EscapeTags
impl Clone for EscapeTags
Source§fn clone(&self) -> EscapeTags
fn clone(&self) -> EscapeTags
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 EscapeTags
Source§impl Debug for EscapeTags
impl Debug for EscapeTags
Source§impl Default for EscapeTags
impl Default for EscapeTags
Source§fn default() -> EscapeTags
fn default() -> EscapeTags
Returns the “default value” for a type. Read more
impl Eq for EscapeTags
Source§impl PartialEq for EscapeTags
impl PartialEq for EscapeTags
Source§fn eq(&self, other: &EscapeTags) -> bool
fn eq(&self, other: &EscapeTags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EscapeTags
Auto Trait Implementations§
impl Freeze for EscapeTags
impl RefUnwindSafe for EscapeTags
impl Send for EscapeTags
impl Sync for EscapeTags
impl Unpin for EscapeTags
impl UnsafeUnpin for EscapeTags
impl UnwindSafe for EscapeTags
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