pub struct ItalicTag<CustomTy = ()> { /* private fields */ }Expand description
An italic tag with no arguments, which converts directly to HTML5 <i>.
This matches the following BBCode tags: ["i", "italic"]
§Exact output
This tag converts exactly to
<i>
contents
</i>Trait Implementations§
impl<CustomTy: Copy> Copy for ItalicTag<CustomTy>
Auto Trait Implementations§
impl<CustomTy> Freeze for ItalicTag<CustomTy>
impl<CustomTy> RefUnwindSafe for ItalicTag<CustomTy>where
CustomTy: RefUnwindSafe,
impl<CustomTy> Send for ItalicTag<CustomTy>where
CustomTy: Send,
impl<CustomTy> Sync for ItalicTag<CustomTy>where
CustomTy: Sync,
impl<CustomTy> Unpin for ItalicTag<CustomTy>where
CustomTy: Unpin,
impl<CustomTy> UnsafeUnpin for ItalicTag<CustomTy>
impl<CustomTy> UnwindSafe for ItalicTag<CustomTy>where
CustomTy: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, CustomTy> HtmlTagWriter<CustomTy> for Twhere
T: SimpleHtmlTagWriter<CustomTy>,
CustomTy: Clone + 'static,
impl<T, CustomTy> HtmlTagWriter<CustomTy> for Twhere
T: SimpleHtmlTagWriter<CustomTy>,
CustomTy: Clone + 'static,
Source§fn match_tag(&self, tag: &str) -> bool
fn match_tag(&self, tag: &str) -> bool
Whether or not this generator is the correct generator for the given tag. Read more
Source§fn open_tag(
&self,
tk_writer: &dyn HtmlTokenWriter<CustomTy>,
token: &Token<'_, CustomTy>,
out: &mut String,
)
fn open_tag( &self, tk_writer: &dyn HtmlTokenWriter<CustomTy>, token: &Token<'_, CustomTy>, out: &mut String, )
Produce an open tag for the given token, pushing it into the given buffer. Read more
Source§fn close_tag<'a>(
&self,
tk_writer: &dyn HtmlTokenWriter<CustomTy>,
_: &Token<'a, CustomTy>,
close_token: &Token<'a, CustomTy>,
out: &mut String,
)
fn close_tag<'a>( &self, tk_writer: &dyn HtmlTokenWriter<CustomTy>, _: &Token<'a, CustomTy>, close_token: &Token<'a, CustomTy>, out: &mut String, )
Produce a close tag for the given token, pushing it into the given buffer. Read more
Source§fn standalone_tag(
&self,
tk_writer: &dyn HtmlTokenWriter<CustomTy>,
token: &Token<'_, CustomTy>,
out: &mut String,
)
fn standalone_tag( &self, tk_writer: &dyn HtmlTokenWriter<CustomTy>, token: &Token<'_, CustomTy>, out: &mut String, )
Produce a standalone tag for the given token, pushing it into the given buffer. Read more
Source§fn try_special<'a>(
&self,
_token: &Token<'a, CustomTy>,
) -> Option<ParserRuleObjBox<'a, CustomTy>>
fn try_special<'a>( &self, _token: &Token<'a, CustomTy>, ) -> Option<ParserRuleObjBox<'a, CustomTy>>
Try to produce a new parser rule to introduce from the given token.