[][src]Enum augdom::rsdom::VirtData

pub enum VirtData {
    Elem {
        tag: String,
        attrs: RefCell<Vec<(String, String)>>,
    },
    Text(String),
}

The data of a node in the virtual DOM tree.

Variants

Elem

A virtual element.

Fields of Elem

tag: String

The element's tag.

attrs: RefCell<Vec<(String, String)>>

The element's attributes.

Text(String)

A virtual text node.

Trait Implementations

impl Debug for VirtData[src]

Auto Trait Implementations

impl !RefUnwindSafe for VirtData

impl Send for VirtData

impl !Sync for VirtData

impl Unpin for VirtData

impl UnwindSafe for VirtData

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.