pub enum PanelKind {
User,
Assistant,
Tool,
Thinking,
}Expand description
What a panel actually shows, so a label can say more than “assistant”: the role already has a colour, so the label names the content instead.
Variants§
Implementations§
Trait Implementations§
impl Copy for PanelKind
impl Eq for PanelKind
impl StructuralPartialEq for PanelKind
Auto Trait Implementations§
impl Freeze for PanelKind
impl RefUnwindSafe for PanelKind
impl Send for PanelKind
impl Sync for PanelKind
impl Unpin for PanelKind
impl UnsafeUnpin for PanelKind
impl UnwindSafe for PanelKind
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