#[non_exhaustive]pub struct StatuslineHighlightInfos {
pub group: String,
pub start: usize,
}
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.group: String
Name of the highlight group.
start: usize
Byte index (0-based) of the first character that uses the highlight.
Trait Implementations§
Source§impl Clone for StatuslineHighlightInfos
impl Clone for StatuslineHighlightInfos
Source§fn clone(&self) -> StatuslineHighlightInfos
fn clone(&self) -> StatuslineHighlightInfos
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 StatuslineHighlightInfos
impl Debug for StatuslineHighlightInfos
Source§impl<'de> Deserialize<'de> for StatuslineHighlightInfos
impl<'de> Deserialize<'de> for StatuslineHighlightInfos
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 Hash for StatuslineHighlightInfos
impl Hash for StatuslineHighlightInfos
Source§impl PartialEq for StatuslineHighlightInfos
impl PartialEq for StatuslineHighlightInfos
impl Eq for StatuslineHighlightInfos
impl StructuralPartialEq for StatuslineHighlightInfos
Auto Trait Implementations§
impl Freeze for StatuslineHighlightInfos
impl RefUnwindSafe for StatuslineHighlightInfos
impl Send for StatuslineHighlightInfos
impl Sync for StatuslineHighlightInfos
impl Unpin for StatuslineHighlightInfos
impl UnwindSafe for StatuslineHighlightInfos
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