pub struct HostText {
pub kind: &'static str,
pub text: String,
}Expand description
One host-visible string. Must not be a cell datum in sealed mode.
Fields§
§kind: &'static strRole for audits (caption, inspect).
text: StringUnicode the host may emit.
Trait Implementations§
impl Eq for HostText
impl StructuralPartialEq for HostText
Auto Trait Implementations§
impl Forget for HostText
impl Freeze for HostText
impl Move for HostText
impl RefUnwindSafe for HostText
impl Send for HostText
impl Sync for HostText
impl Unpin for HostText
impl UnsafeUnpin for HostText
impl UnwindSafe for HostText
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