#[non_exhaustive]pub struct ExtmarkInfos {Show 16 fields
pub end_col: Option<usize>,
pub end_right_gravity: Option<bool>,
pub end_row: Option<usize>,
pub hl_eol: Option<bool>,
pub hl_group: Option<String>,
pub hl_mode: Option<ExtmarkHlMode>,
pub priority: Option<u32>,
pub right_gravity: bool,
pub ui_watched: Option<bool>,
pub virt_lines: Option<Vec<Vec<(String, String), Global>, Global>>,
pub virt_lines_above: Option<bool>,
pub virt_lines_leftcol: Option<bool>,
pub virt_text: Option<Vec<(String, String), Global>>,
pub virt_text_hide: Option<bool>,
pub virt_text_pos: Option<ExtmarkVirtTextPosition>,
pub virt_text_win_col: Option<i64>,
}Expand description
Extmark infos returned by Buffer::get_extmark_by_id.
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.end_col: Option<usize>end_right_gravity: Option<bool>end_row: Option<usize>hl_eol: Option<bool>hl_group: Option<String>hl_mode: Option<ExtmarkHlMode>priority: Option<u32>right_gravity: boolui_watched: Option<bool>virt_lines: Option<Vec<Vec<(String, String), Global>, Global>>virt_lines_above: Option<bool>virt_lines_leftcol: Option<bool>virt_text: Option<Vec<(String, String), Global>>virt_text_hide: Option<bool>virt_text_pos: Option<ExtmarkVirtTextPosition>virt_text_win_col: Option<i64>Trait Implementations
sourceimpl Clone for ExtmarkInfos
impl Clone for ExtmarkInfos
sourcefn clone(&self) -> ExtmarkInfos
fn clone(&self) -> ExtmarkInfos
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ExtmarkInfos
impl Debug for ExtmarkInfos
sourceimpl<'de> Deserialize<'de> for ExtmarkInfos
impl<'de> Deserialize<'de> for ExtmarkInfos
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<ExtmarkInfos, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ExtmarkInfos, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl FromObject for ExtmarkInfos
impl FromObject for ExtmarkInfos
fn from_object(obj: Object) -> Result<ExtmarkInfos, Error>
sourceimpl Hash for ExtmarkInfos
impl Hash for ExtmarkInfos
sourceimpl PartialEq<ExtmarkInfos> for ExtmarkInfos
impl PartialEq<ExtmarkInfos> for ExtmarkInfos
sourcefn eq(&self, other: &ExtmarkInfos) -> bool
fn eq(&self, other: &ExtmarkInfos) -> bool
impl Eq for ExtmarkInfos
impl StructuralEq for ExtmarkInfos
impl StructuralPartialEq for ExtmarkInfos
Auto Trait Implementations
impl RefUnwindSafe for ExtmarkInfos
impl Send for ExtmarkInfos
impl Sync for ExtmarkInfos
impl Unpin for ExtmarkInfos
impl UnwindSafe for ExtmarkInfos
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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