pub struct HtmlPattern<'a> {
pub tag_name: &'a str,
pub essential_attribute: Option<&'a str>,
pub child_html: Box<Option<HtmlPattern<'a>>>,
}
Expand description
A Recursive structure for defining HTML pattern.
Fields§
§tag_name: &'a str
§essential_attribute: Option<&'a str>
§child_html: Box<Option<HtmlPattern<'a>>>
Auto Trait Implementations§
impl<'a> Freeze for HtmlPattern<'a>
impl<'a> RefUnwindSafe for HtmlPattern<'a>
impl<'a> Send for HtmlPattern<'a>
impl<'a> Sync for HtmlPattern<'a>
impl<'a> Unpin for HtmlPattern<'a>
impl<'a> UnwindSafe for HtmlPattern<'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