Struct nvim_oxi::types::HighlightInfos
source · [−]#[non_exhaustive]pub struct HighlightInfos {Show 16 fields
pub background: Option<u32>,
pub bg_indexed: Option<bool>,
pub blend: Option<u32>,
pub bold: Option<bool>,
pub fg_indexed: 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.background: Option<u32>bg_indexed: Option<bool>blend: Option<u32>bold: Option<bool>fg_indexed: 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
sourceimpl Clone for HighlightInfos
impl Clone for HighlightInfos
sourcefn clone(&self) -> HighlightInfos
fn clone(&self) -> HighlightInfos
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for HighlightInfos
impl Debug for HighlightInfos
sourceimpl<'de> Deserialize<'de> for HighlightInfos
impl<'de> Deserialize<'de> for HighlightInfos
sourcefn 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
sourceimpl FromObject for HighlightInfos
impl FromObject for HighlightInfos
sourceimpl PartialEq<HighlightInfos> for HighlightInfos
impl PartialEq<HighlightInfos> for HighlightInfos
sourcefn eq(&self, other: &HighlightInfos) -> bool
fn eq(&self, other: &HighlightInfos) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &HighlightInfos) -> bool
fn ne(&self, other: &HighlightInfos) -> bool
This method tests for !=.
impl Eq for HighlightInfos
impl StructuralEq for HighlightInfos
impl StructuralPartialEq for HighlightInfos
Auto Trait Implementations
impl RefUnwindSafe for HighlightInfos
impl Send for HighlightInfos
impl Sync for HighlightInfos
impl Unpin for HighlightInfos
impl UnwindSafe for HighlightInfos
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more