pub struct RowSpan {
pub start: u32,
pub end: u32,
pub slot: String,
}Expand description
One styled run within a row, naming a style rather than carrying one.
The WIT display-span, native side. slot resolves host-side through the
same path a highlights.scm capture takes, so a plugin’s own registered
theme element (org.todo.WAITING) reaches the row with the active
colourscheme applied, and an unresolvable name renders unstyled rather
than failing the row.
Fields§
§start: u32Byte offset from the start of the row’s line.
end: u32Byte offset one past the run’s last byte (exclusive).
slot: StringCapture or theme-element name.
Trait Implementations§
impl Eq for RowSpan
impl StructuralPartialEq for RowSpan
Auto Trait Implementations§
impl Freeze for RowSpan
impl RefUnwindSafe for RowSpan
impl Send for RowSpan
impl Sync for RowSpan
impl Unpin for RowSpan
impl UnsafeUnpin for RowSpan
impl UnwindSafe for RowSpan
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.