pub enum OverlayContent {
Text(String),
Command(DrawCommand),
}Expand description
Overlay content payload.
Variants§
Text(String)
Text payload (resolved by the app/backend).
Command(DrawCommand)
Backend-agnostic draw command payload.
Trait Implementations§
Source§impl Clone for OverlayContent
impl Clone for OverlayContent
Source§fn clone(&self) -> OverlayContent
fn clone(&self) -> OverlayContent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OverlayContent
impl Debug for OverlayContent
Source§impl PartialEq for OverlayContent
impl PartialEq for OverlayContent
impl StructuralPartialEq for OverlayContent
Auto Trait Implementations§
impl Freeze for OverlayContent
impl RefUnwindSafe for OverlayContent
impl Send for OverlayContent
impl Sync for OverlayContent
impl Unpin for OverlayContent
impl UnsafeUnpin for OverlayContent
impl UnwindSafe for OverlayContent
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