#[non_exhaustive]pub struct HighlightInfos {Show 20 fields
pub altfont: Option<bool>,
pub background: Option<u32>,
pub bg_indexed: Option<bool>,
pub blend: Option<u32>,
pub bold: Option<bool>,
pub default: Option<bool>,
pub fallback: Option<bool>,
pub fg_indexed: Option<bool>,
pub force: Option<bool>,
pub foreground: Option<u32>,
pub italic: Option<bool>,
pub reverse: Option<bool>,
pub special: Option<u32>,
pub standout: Option<bool>,
pub strikethrough: Option<bool>,
pub undercurl: Option<bool>,
pub underdash: Option<bool>,
pub underdot: Option<bool>,
pub underline: Option<bool>,
pub underlineline: Option<bool>,
}Expand description
Attributes related to a highlight group.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.altfont: Option<bool>§background: Option<u32>§bg_indexed: Option<bool>§blend: Option<u32>§bold: Option<bool>§default: Option<bool>§fallback: Option<bool>§fg_indexed: Option<bool>§force: Option<bool>§foreground: Option<u32>§italic: Option<bool>§reverse: Option<bool>§special: Option<u32>§standout: Option<bool>§strikethrough: Option<bool>§undercurl: Option<bool>§underdash: Option<bool>§underdot: Option<bool>§underline: Option<bool>§underlineline: Option<bool>Trait Implementations§
Source§impl Clone for HighlightInfos
impl Clone for HighlightInfos
Source§fn clone(&self) -> HighlightInfos
fn clone(&self) -> HighlightInfos
Returns a duplicate 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 HighlightInfos
impl Debug for HighlightInfos
Source§impl Default for HighlightInfos
impl Default for HighlightInfos
Source§fn default() -> HighlightInfos
fn default() -> HighlightInfos
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HighlightInfos
impl<'de> Deserialize<'de> for HighlightInfos
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 FromObject for HighlightInfos
impl FromObject for HighlightInfos
Source§impl PartialEq for HighlightInfos
impl PartialEq for HighlightInfos
impl Eq for HighlightInfos
impl StructuralPartialEq for HighlightInfos
Auto Trait Implementations§
impl Freeze for HighlightInfos
impl RefUnwindSafe for HighlightInfos
impl Send for HighlightInfos
impl Sync for HighlightInfos
impl Unpin for HighlightInfos
impl UnwindSafe for HighlightInfos
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§type Error = Infallible
type Error = Infallible
The error type in the returned
Result.Source§fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
Converts the value into a
Result.