Struct scarb_ui::components::ValueMessage
source · pub struct ValueMessage<'a, T> { /* private fields */ }Expand description
Print a single value result of a computation to the user.
In JSON mode, this will emit like this:
{"name":value}
In text mode, name is omitted.
Implementations§
Trait Implementations§
source§impl<'a, T> Message for ValueMessage<'a, T>
impl<'a, T> Message for ValueMessage<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for ValueMessage<'a, T>
impl<'a, T> RefUnwindSafe for ValueMessage<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for ValueMessage<'a, T>where
T: Sync,
impl<'a, T> Sync for ValueMessage<'a, T>where
T: Sync,
impl<'a, T> Unpin for ValueMessage<'a, T>
impl<'a, T> UnwindSafe for ValueMessage<'a, T>where
T: RefUnwindSafe,
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