Public declaration syntax from harness-tui-kit/src/components/chat/bubble.rs Original source SHA-256: ce2f13c3491c1f781d989d7c1133a5cb4bf7ae35a403770d6e4ea2fea5e23cb1 Function bodies and constant values are omitted. This is not the complete implementation. Source line 38 #[derive(Debug, Clone)] pub struct ChatBubble<'a> { } Source line 59 #[must_use] pub fn new(message: &'a ChatMessage) -> Self; Source line 78 #[must_use] pub fn markdown(mut self, enabled: bool) -> Self; Source line 85 #[must_use] pub fn theme(mut self, theme: &'a Theme) -> Self; Source line 92 #[must_use] pub fn show_timestamp(mut self, show: bool) -> Self; Source line 99 #[must_use] pub fn show_sender(mut self, show: bool) -> Self; Source line 108 #[must_use] pub fn max_lines(mut self, max: usize) -> Self; Source line 116 #[derive(Debug, Clone, Default)] pub struct ChatBubbleState { /// Scroll offset within the message content. pub scroll_offset: usize, /// Whether this bubble is currently selected. pub selected: bool } Source line 125 pub fn scroll_up(&mut self); Source line 130 pub fn scroll_down(&mut self); Source line 135 pub fn reset(&mut self);