Enum jrsonnet_evaluator::typed::ComplexValType
source · pub enum ComplexValType {
Any,
Char,
Simple(ValType),
BoundedNumber(Option<f64>, Option<f64>),
Array(Box<ComplexValType, Global>),
ArrayRef(&'static ComplexValType),
ObjectRef(&'static [(&'static str, &'static ComplexValType)]),
Union(Vec<ComplexValType, Global>),
UnionRef(&'static [&'static ComplexValType]),
Sum(Vec<ComplexValType, Global>),
SumRef(&'static [&'static ComplexValType]),
}
Variants§
Any
Char
Simple(ValType)
BoundedNumber(Option<f64>, Option<f64>)
Array(Box<ComplexValType, Global>)
ArrayRef(&'static ComplexValType)
ObjectRef(&'static [(&'static str, &'static ComplexValType)])
Union(Vec<ComplexValType, Global>)
UnionRef(&'static [&'static ComplexValType])
Sum(Vec<ComplexValType, Global>)
SumRef(&'static [&'static ComplexValType])
Trait Implementations§
source§impl Clone for ComplexValType
impl Clone for ComplexValType
source§fn clone(&self) -> ComplexValType
fn clone(&self) -> ComplexValType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ComplexValType
impl Debug for ComplexValType
source§impl Display for ComplexValType
impl Display for ComplexValType
source§impl From<ValType> for ComplexValType
impl From<ValType> for ComplexValType
source§fn from(s: ValType) -> ComplexValType
fn from(s: ValType) -> ComplexValType
Converts to this type from the input type.
source§impl PartialEq<ComplexValType> for ComplexValType
impl PartialEq<ComplexValType> for ComplexValType
source§fn eq(&self, other: &ComplexValType) -> bool
fn eq(&self, other: &ComplexValType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.