pub struct StreamText {
pub full: String,
pub committed: String,
pub tentative: String,
}Expand description
A UI-facing snapshot of the stream’s text, fully owned.
Fields§
§full: StringThe raw current model hypothesis (authoritative; may rewrite anywhere).
committed: StringThe append-only, flicker-free display/input prefix.
tentative: StringThe volatile raw suffix after the committed prefix.
Implementations§
Trait Implementations§
Source§impl Clone for StreamText
impl Clone for StreamText
Source§impl Debug for StreamText
impl Debug for StreamText
Source§impl Default for StreamText
impl Default for StreamText
impl Eq for StreamText
Source§impl PartialEq for StreamText
impl PartialEq for StreamText
impl StructuralPartialEq for StreamText
Auto Trait Implementations§
impl Freeze for StreamText
impl RefUnwindSafe for StreamText
impl Send for StreamText
impl Sync for StreamText
impl Unpin for StreamText
impl UnsafeUnpin for StreamText
impl UnwindSafe for StreamText
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