pub struct MarkupParser;Expand description
Parses proof-engine rich text markup.
Supported tags:
[b]text[/b]— bold[i]text[/i]— italic[u]text[/u]— underline[color:rrggbb]text[/color]— hex color[wave:amplitude]text[/wave]— wave animation[shake:intensity]text[/shake]— shake effect[rainbow]text[/rainbow]— rainbow color cycling[bg:rrggbb]text[/bg]— background color
Implementations§
Auto Trait Implementations§
impl Freeze for MarkupParser
impl RefUnwindSafe for MarkupParser
impl Send for MarkupParser
impl Sync for MarkupParser
impl Unpin for MarkupParser
impl UnsafeUnpin for MarkupParser
impl UnwindSafe for MarkupParser
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