pub struct Element {
pub id: u32,
pub name: String,
pub attrs: Vec<Attr>,
pub children: Vec<Child>,
pub pos: Pos,
}Fields§
§id: u32The element’s id, unique in its file and kept across edits: numbered
in order by parse, matched against the last parse by
crate::ids::matched.
name: String§attrs: Vec<Attr>§children: Vec<Child>§pos: PosTrait Implementations§
impl StructuralPartialEq for Element
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnsafeUnpin for Element
impl UnwindSafe for Element
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