pub struct DisplayImage {
pub png: Vec<u8>,
pub line: String,
}Expand description
An image for the user only: the TUI draws it from the tool result’s details.displayImages; the model’s copy of
the result has DisplayImage::line instead.
Fields§
§png: Vec<u8>§line: StringTrait Implementations§
Source§impl Clone for DisplayImage
impl Clone for DisplayImage
Source§impl Debug for DisplayImage
impl Debug for DisplayImage
impl Eq for DisplayImage
Source§impl PartialEq for DisplayImage
impl PartialEq for DisplayImage
impl StructuralPartialEq for DisplayImage
Auto Trait Implementations§
impl Forget for DisplayImage
impl Freeze for DisplayImage
impl Move for DisplayImage
impl RefUnwindSafe for DisplayImage
impl Send for DisplayImage
impl Sync for DisplayImage
impl Unpin for DisplayImage
impl UnsafeUnpin for DisplayImage
impl UnwindSafe for DisplayImage
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.