[][src]Enum jsxn::jsx::JsxValue

pub enum JsxValue {
    JsxElement(JsxElement),
    JsxFragment(JsxFragment),
    JsonValue(JsonValue),
    JsxExpression(Box<JsxValue>),
}

A JSX-specific value

Variants

JsxElement(JsxElement)

A JSX Element containing an element type, props, and array of children

JsxFragment(JsxFragment)

A JSX Fragment which only contains an array of children

JsonValue(JsonValue)

A JSON value

JsxExpression(Box<JsxValue>)

A JSX Expression containing a JSON value, a JSX Element, or a JSX Fragment

Trait Implementations

impl Clone for JsxValue[src]

impl Debug for JsxValue[src]

impl PartialEq<JsxValue> for JsxValue[src]

impl Serialize for JsxValue[src]

impl StructuralPartialEq for JsxValue[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.