pub struct BBTag<'a> {
pub tag: &'a str,
pub args: &'a str,
}Expand description
Simple struct representing the tag and (possibly empty) arguments of a bbcode tag.
Fields§
§tag: &'a strA slice containing the tag.
args: &'a strA slice containing the tag arguments.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BBTag<'a>
impl<'a> RefUnwindSafe for BBTag<'a>
impl<'a> Send for BBTag<'a>
impl<'a> Sync for BBTag<'a>
impl<'a> Unpin for BBTag<'a>
impl<'a> UnwindSafe for BBTag<'a>
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