pub struct Element<'a> {
pub tag_name: Name<'a>,
pub tag_type: ElementType,
pub namespace: Namespace,
pub properties: Vec<ElemProp<'a>>,
pub children: Vec<AstNode<'a>>,
pub location: SourceLocation,
}Fields§
§tag_name: Name<'a>§tag_type: ElementType§namespace: Namespace§properties: Vec<ElemProp<'a>>§children: Vec<AstNode<'a>>§location: SourceLocationImplementations§
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