Enum wikitext_parser::TextFormatting
source · pub enum TextFormatting {
Italic,
Bold,
ItalicBold,
}
Expand description
Format of formatted text.
Variants§
Trait Implementations§
source§impl Clone for TextFormatting
impl Clone for TextFormatting
source§fn clone(&self) -> TextFormatting
fn clone(&self) -> TextFormatting
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 Debug for TextFormatting
impl Debug for TextFormatting
source§impl PartialEq<TextFormatting> for TextFormatting
impl PartialEq<TextFormatting> for TextFormatting
source§fn eq(&self, other: &TextFormatting) -> bool
fn eq(&self, other: &TextFormatting) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TextFormatting
impl Eq for TextFormatting
impl StructuralEq for TextFormatting
impl StructuralPartialEq for TextFormatting
Auto Trait Implementations§
impl RefUnwindSafe for TextFormatting
impl Send for TextFormatting
impl Sync for TextFormatting
impl Unpin for TextFormatting
impl UnwindSafe for TextFormatting
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