Type Alias EValue

Source
pub type EValue<'a> = Value<ElementCtx<'a>>;

Aliased Type§

pub enum EValue<'a> {
    Null,
    Float(f64),
    Int(i64),
    Bool(bool),
    String(Arc<str>),
    List(Vec<Value<ElementCtx<'a>>>),
    Structure(BTreeMap<Arc<str>, Value<ElementCtx<'a>>>),
    Extra(ElementCtx<'a>),
}

Variants§

§

Null

§

Float(f64)

§

Int(i64)

§

Bool(bool)

§

String(Arc<str>)

§

List(Vec<Value<ElementCtx<'a>>>)

§

Structure(BTreeMap<Arc<str>, Value<ElementCtx<'a>>>)

§

Extra(ElementCtx<'a>)

Trait Implementations§

Source§

impl<'a> From<ElementRef<'a>> for EValue<'a>

Source§

fn from(value: ElementRef<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<Value<Pipeline<'a>>> for EValue<'a>

Source§

fn from(value: PValue<'a>) -> Self

Converts to this type from the input type.