#[non_exhaustive]pub enum TextEmphasisStyle {
Circle,
Dot,
DoubleCircle,
Filled,
None,
Open,
Sesame,
Triangle,
Quoted(Quoted),
Raw(Raw),
}Expand description
A value of text-emphasis-style.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Circle
circle.
Dot
dot.
DoubleCircle
double-circle.
Filled
filled.
None
none.
Open
open.
Sesame
sesame.
Triangle
triangle.
Quoted(Quoted)
A quoted string.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for TextEmphasisStyle
impl Clone for TextEmphasisStyle
Source§fn clone(&self) -> TextEmphasisStyle
fn clone(&self) -> TextEmphasisStyle
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 moreSource§impl Debug for TextEmphasisStyle
impl Debug for TextEmphasisStyle
Source§impl Display for TextEmphasisStyle
impl Display for TextEmphasisStyle
Source§impl From<Quoted> for TextEmphasisStyle
impl From<Quoted> for TextEmphasisStyle
Source§impl From<Raw> for TextEmphasisStyle
impl From<Raw> for TextEmphasisStyle
Source§impl PartialEq for TextEmphasisStyle
impl PartialEq for TextEmphasisStyle
impl StructuralPartialEq for TextEmphasisStyle
Auto Trait Implementations§
impl Freeze for TextEmphasisStyle
impl RefUnwindSafe for TextEmphasisStyle
impl Send for TextEmphasisStyle
impl Sync for TextEmphasisStyle
impl Unpin for TextEmphasisStyle
impl UnsafeUnpin for TextEmphasisStyle
impl UnwindSafe for TextEmphasisStyle
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