pub struct CodeMark {
pub line: u64,
pub tone: Option<Tone>,
pub ranges: Vec<[u64; 2]>,
}Expand description
A code line mark.
Fields§
§line: u64The line, in the gutter’s numbering.
tone: Option<Tone>The tone.
ranges: Vec<[u64; 2]>Character ranges [from, to) marked on the line.
Trait Implementations§
impl Eq for CodeMark
impl StructuralPartialEq for CodeMark
Auto Trait Implementations§
impl Freeze for CodeMark
impl RefUnwindSafe for CodeMark
impl Send for CodeMark
impl Sync for CodeMark
impl Unpin for CodeMark
impl UnsafeUnpin for CodeMark
impl UnwindSafe for CodeMark
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