pub struct MarkerEntry {
pub id: MarkerId,
pub line: u32,
pub kind: MarkerKind,
}Expand description
One live marker, as the pull query reports it: 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.
No #[non_exhaustive] (#844): nothing outside this crate has a reason to build one. No
public function accepts it — the engine hands it out — and there are zero out-of-crate literal
sites, so the attribute would bind nothing it does not already bind.
Fields§
§id: MarkerId§line: u32§kind: MarkerKindTrait Implementations§
Source§impl Clone for MarkerEntry
impl Clone for MarkerEntry
Source§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