pub struct Element<'a> {
pub name: ElemName,
pub attrs: Vec<Attr<'a>>,
pub content: Option<Vec<Node<'a>>>,
pub is_block_level: bool,
pub contains_blocks: bool,
}
Fields§
§name: ElemName
§attrs: Vec<Attr<'a>>
§content: Option<Vec<Node<'a>>>
§is_block_level: bool
§contains_blocks: bool
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Element<'a>
impl<'a> RefUnwindSafe for Element<'a>
impl<'a> Send for Element<'a>
impl<'a> Sync for Element<'a>
impl<'a> Unpin for Element<'a>
impl<'a> UnwindSafe for Element<'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