pub struct DomDebugNode {
pub id: DomId,
pub parent_id: DomId,
pub name: StaticString,
pub attrs: BTreeMap<StaticString, String>,
pub callbacks: BTreeMap<String, CallbackId>,
pub children: Vec<DomId>,
pub text: Option<String>,
}Expand description
Part of DomDebugFragment representing single node in DOM
Fields§
§id: DomId§parent_id: DomId§name: StaticString§attrs: BTreeMap<StaticString, String>§callbacks: BTreeMap<String, CallbackId>§children: Vec<DomId>§text: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for DomDebugNode
impl Clone for DomDebugNode
Source§fn clone(&self) -> DomDebugNode
fn clone(&self) -> DomDebugNode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DomDebugNode
impl Debug for DomDebugNode
Source§impl Default for DomDebugNode
impl Default for DomDebugNode
Source§fn default() -> DomDebugNode
fn default() -> DomDebugNode
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DomDebugNode
impl RefUnwindSafe for DomDebugNode
impl Send for DomDebugNode
impl Sync for DomDebugNode
impl Unpin for DomDebugNode
impl UnwindSafe for DomDebugNode
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