pub enum EmphasisKind {
Asterisks,
Underscores,
}Expand description
The character to use for emphasis/italics.
Variants§
Trait Implementations§
source§impl Clone for EmphasisKind
impl Clone for EmphasisKind
source§fn clone(&self) -> EmphasisKind
fn clone(&self) -> EmphasisKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'de> Deserialize<'de> for EmphasisKind
impl<'de> Deserialize<'de> for EmphasisKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for EmphasisKind
impl Display for EmphasisKind
source§impl FromStr for EmphasisKind
impl FromStr for EmphasisKind
source§impl PartialEq for EmphasisKind
impl PartialEq for EmphasisKind
source§fn eq(&self, other: &EmphasisKind) -> bool
fn eq(&self, other: &EmphasisKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EmphasisKind
impl Serialize for EmphasisKind
impl Copy for EmphasisKind
impl StructuralPartialEq for EmphasisKind
Auto Trait Implementations§
impl Freeze for EmphasisKind
impl RefUnwindSafe for EmphasisKind
impl Send for EmphasisKind
impl Sync for EmphasisKind
impl Unpin for EmphasisKind
impl UnwindSafe for EmphasisKind
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