pub struct MarkerId(pub u32);Expand description
A stable handle to a buffer line, handed out by Engine::add_marker (#118).
Monotonic per engine. The consumer attaches a decoration to the id; the frame
reports where the marker currently sits, and TermEvent::MarkerDisposed
signals when its line has left the buffer.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for MarkerId
impl Eq for MarkerId
impl StructuralPartialEq for MarkerId
Auto Trait Implementations§
impl Freeze for MarkerId
impl RefUnwindSafe for MarkerId
impl Send for MarkerId
impl Sync for MarkerId
impl Unpin for MarkerId
impl UnsafeUnpin for MarkerId
impl UnwindSafe for MarkerId
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