Struct tui_markup_renderer::parser::MarkupElement
source · [−]pub struct MarkupElement {
pub deep: usize,
pub name: String,
pub text: String,
pub attributes: HashMap<String, String>,
pub children: Vec<Rc<RefCell<MarkupElement>>>,
pub parent_node: Option<Rc<RefCell<MarkupElement>>>,
}
Fields
deep: usize
name: String
text: String
attributes: HashMap<String, String>
children: Vec<Rc<RefCell<MarkupElement>>>
parent_node: Option<Rc<RefCell<MarkupElement>>>
Trait Implementations
sourceimpl Clone for MarkupElement
impl Clone for MarkupElement
sourceimpl Debug for MarkupElement
impl Debug for MarkupElement
Auto Trait Implementations
impl !RefUnwindSafe for MarkupElement
impl !Send for MarkupElement
impl !Sync for MarkupElement
impl Unpin for MarkupElement
impl !UnwindSafe for MarkupElement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more