pub enum Widget {
Lines(Vec<String>),
Component(RemoteComponent),
}Expand description
What a widget shows.
Variants§
Lines(Vec<String>)
Lines of text with escape sequences.
Component(RemoteComponent)
A component the extension renders.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Widget
impl !UnwindSafe for Widget
impl Freeze for Widget
impl Send for Widget
impl Sync for Widget
impl Unpin for Widget
impl UnsafeUnpin for Widget
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