pub struct Marks {
pub seen: bool,
pub running: bool,
pub last_exit: Option<i32>,
pub last: Option<Mark>,
}Expand description
The marks seen so far, and the state they imply.
Fields§
§seen: boolWhether any OSC 133 mark has been seen. false means the shell has no
integration and the classifier must fall back to the heuristic.
running: boolWhether a command is running: a C with no D after it.
last_exit: Option<i32>The exit code the last D carried, when it carried one.
last: Option<Mark>The last mark seen.
Trait Implementations§
impl Copy for Marks
impl Eq for Marks
impl StructuralPartialEq for Marks
Auto Trait Implementations§
impl Freeze for Marks
impl RefUnwindSafe for Marks
impl Send for Marks
impl Sync for Marks
impl Unpin for Marks
impl UnsafeUnpin for Marks
impl UnwindSafe for Marks
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> ResetDiscriminant<T> for Twhere
T: Copy,
impl<T> ResetDiscriminant<T> for Twhere
T: Copy,
§fn discriminant(&self) -> T
fn discriminant(&self) -> T
Value based on which equality for the reset will be determined.