pub enum BBTag {
Show 29 variants
None,
Bold,
Italic,
Underline,
Strikethrough,
FontSize,
FontColor,
Center,
Left,
Right,
Superscript,
Subscript,
Blur,
Quote,
Spoiler,
Link,
Email,
Image,
ListOrdered,
ListUnordered,
ListItem,
Code,
Preformatted,
Table,
TableHeading,
TableRow,
TableCell,
YouTube,
Unknown,
}
Expand description
TODO: Handle some extra codes
- indent BBCode tag type enum
Variants§
None
No tag
Bold
Italic
Underline
Strikethrough
FontSize
FontColor
Center
Left
Right
Superscript
Subscript
Blur
Quote
Spoiler
Link
Image
ListOrdered
ListUnordered
ListItem
Code
Preformatted
Table
TableHeading
TableRow
TableCell
YouTube
Unknown
Some other unhandled tag
Trait Implementations§
impl Eq for BBTag
impl StructuralPartialEq for BBTag
Auto Trait Implementations§
impl Freeze for BBTag
impl RefUnwindSafe for BBTag
impl Send for BBTag
impl Sync for BBTag
impl Unpin for BBTag
impl UnwindSafe for BBTag
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