Enum syntect::highlighting::UnderlineOption
source · pub enum UnderlineOption {
None,
Underline,
StippledUnderline,
SquigglyUnderline,
}
Variants§
Trait Implementations§
source§impl Clone for UnderlineOption
impl Clone for UnderlineOption
source§fn clone(&self) -> UnderlineOption
fn clone(&self) -> UnderlineOption
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 UnderlineOption
impl Debug for UnderlineOption
source§impl Default for UnderlineOption
impl Default for UnderlineOption
source§fn default() -> UnderlineOption
fn default() -> UnderlineOption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UnderlineOption
impl<'de> Deserialize<'de> for UnderlineOption
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 PartialEq for UnderlineOption
impl PartialEq for UnderlineOption
source§fn eq(&self, other: &UnderlineOption) -> bool
fn eq(&self, other: &UnderlineOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UnderlineOption
impl Serialize for UnderlineOption
impl StructuralPartialEq for UnderlineOption
Auto Trait Implementations§
impl RefUnwindSafe for UnderlineOption
impl Send for UnderlineOption
impl Sync for UnderlineOption
impl Unpin for UnderlineOption
impl UnwindSafe for UnderlineOption
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