pub struct MarkupElement {
pub deep: usize,
pub id: String,
pub name: String,
pub order: i32,
pub text: Option<String>,
pub attributes: HashMap<String, String>,
pub children: Vec<Rc<RefCell<MarkupElement>>>,
pub parent_node: Option<Rc<RefCell<MarkupElement>>>,
pub dependencies: Vec<String>,
}
Fields§
§deep: usize
§id: String
§name: String
§order: i32
§text: Option<String>
§attributes: HashMap<String, String>
§children: Vec<Rc<RefCell<MarkupElement>>>
§parent_node: Option<Rc<RefCell<MarkupElement>>>
§dependencies: Vec<String>
Trait Implementations§
Source§impl Clone for MarkupElement
impl Clone for MarkupElement
Source§impl Debug for MarkupElement
impl Debug for MarkupElement
Auto Trait Implementations§
impl Freeze for MarkupElement
impl !RefUnwindSafe for MarkupElement
impl !Send for MarkupElement
impl !Sync for MarkupElement
impl Unpin for MarkupElement
impl !UnwindSafe for MarkupElement
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