pub struct MarkerPosition {
pub id: MarkerId,
pub row: usize,
pub kind: MarkerKind,
}Expand description
A marker projected onto the viewport (#118): its id, the row it sits on, and
its kind (#159). Only markers visible in the current viewport are reported; an
off-screen marker is omitted but still alive (death comes via MarkerDisposed,
not absence — so the consumer can tell “scrolled away” from “gone”). The kind
carries the OSC 133 command-boundary role + exit code so the consumer can drive
prompt-to-prompt navigation and success/fail signals (#160).
Fields§
§id: MarkerId§row: usize§kind: MarkerKindTrait Implementations§
Source§impl Clone for MarkerPosition
impl Clone for MarkerPosition
Source§fn clone(&self) -> MarkerPosition
fn clone(&self) -> MarkerPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MarkerPosition
Source§impl Debug for MarkerPosition
impl Debug for MarkerPosition
impl Eq for MarkerPosition
Source§impl PartialEq for MarkerPosition
impl PartialEq for MarkerPosition
impl StructuralPartialEq for MarkerPosition
Auto Trait Implementations§
impl Freeze for MarkerPosition
impl RefUnwindSafe for MarkerPosition
impl Send for MarkerPosition
impl Sync for MarkerPosition
impl Unpin for MarkerPosition
impl UnsafeUnpin for MarkerPosition
impl UnwindSafe for MarkerPosition
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