Enum virtual_view::View [] [src]

pub enum View {
    Text(String),
    Data {
        kind: String,
        key: Option<String>,
        props: Map<String, Value>,
        events: Events,
        children: Vec<View>,
    },
}

Variants

Fields of Data

Methods

impl View
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Debug for View
[src]

[src]

Formats the value using the given formatter.

impl Clone for View
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for View
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<T> From<T> for View where
    T: ToString
[src]

[src]

Performs the conversion.