pub struct MarkerEntry {
pub id: MarkerId,
pub line: u32,
pub kind: MarkerKind,
}Expand description
One live marker, as the pull query reports it (#490): its stable id, its
absolute [scrollback ++ screen] line, and the static facts a consumer
would otherwise have to re-learn from every frame.
kind and exit ride here rather than on the frame because they never change
after push_marker — re-sending them per frame is the same class of waste as
re-sending the line.
Fields§
§id: MarkerId§line: u32§kind: MarkerKindTrait Implementations§
Source§impl Clone for MarkerEntry
impl Clone for MarkerEntry
Source§fn clone(&self) -> MarkerEntry
fn clone(&self) -> MarkerEntry
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 moreSource§impl Debug for MarkerEntry
impl Debug for MarkerEntry
impl Eq for MarkerEntry
Source§impl PartialEq for MarkerEntry
impl PartialEq for MarkerEntry
impl StructuralPartialEq for MarkerEntry
Auto Trait Implementations§
impl Freeze for MarkerEntry
impl RefUnwindSafe for MarkerEntry
impl Send for MarkerEntry
impl Sync for MarkerEntry
impl Unpin for MarkerEntry
impl UnsafeUnpin for MarkerEntry
impl UnwindSafe for MarkerEntry
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