Enum virtual_view::View [] [src]

pub enum View {
    Text(String),
    Data {
        kind: ViewKind,
        key: Option<String>,
        props: Props,
        children: Children,
    },
}

Variants

Fields of Data

Methods

impl View
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<'a> From<&'a View> for RawView
[src]

[src]

Performs the conversion.

impl From<View> for RawView
[src]

[src]

Performs the conversion.

impl Debug for View
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

This method tests for !=.

impl Sync for View
[src]

impl Send for View
[src]

impl<'a> From<&'a View> for View
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

Auto Trait Implementations