Enum numbat::markup::FormatType
source · pub enum FormatType {
Whitespace,
Emphasized,
Dimmed,
Text,
String,
Keyword,
Value,
Unit,
Identifier,
TypeIdentifier,
Operator,
Decorator,
}
Variants§
Whitespace
Emphasized
Dimmed
Text
String
Keyword
Value
Unit
Identifier
TypeIdentifier
Operator
Decorator
Trait Implementations§
source§impl Clone for FormatType
impl Clone for FormatType
source§fn clone(&self) -> FormatType
fn clone(&self) -> FormatType
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 FormatType
impl Debug for FormatType
source§impl PartialEq for FormatType
impl PartialEq for FormatType
source§fn eq(&self, other: &FormatType) -> bool
fn eq(&self, other: &FormatType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FormatType
impl StructuralPartialEq for FormatType
Auto Trait Implementations§
impl RefUnwindSafe for FormatType
impl Send for FormatType
impl Sync for FormatType
impl Unpin for FormatType
impl UnwindSafe for FormatType
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