pub enum AlignKind {
Match,
Differ,
LeftOnly,
RightOnly,
}Expand description
How an aligned row relates its left / right halves. The TUI maps these to foreground colors.
Variants§
Match
Both sides present, same kind + tool, and identical detail text.
Differ
Both sides present, same kind + tool, but detail text differs. Typical for assistant messages with paraphrased wording or tool calls with slightly different inputs.
LeftOnly
Step exists only on the left (deletion in A → B terms).
RightOnly
Step exists only on the right (insertion in A → B terms).
Trait Implementations§
impl Copy for AlignKind
impl Eq for AlignKind
impl StructuralPartialEq for AlignKind
Auto Trait Implementations§
impl Freeze for AlignKind
impl RefUnwindSafe for AlignKind
impl Send for AlignKind
impl Sync for AlignKind
impl Unpin for AlignKind
impl UnsafeUnpin for AlignKind
impl UnwindSafe for AlignKind
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more