Enum jrsonnet_types::ComplexValType
source · pub enum ComplexValType {
Show 13 variants
Any,
Char,
Simple(ValType),
BoundedNumber(Option<f64>, Option<f64>),
Array(Box<ComplexValType>),
ArrayRef(&'static ComplexValType),
ObjectRef(&'static [(&'static str, &'static ComplexValType)]),
AttrsOf(&'static ComplexValType),
Union(Vec<ComplexValType>),
UnionRef(&'static [&'static ComplexValType]),
Sum(Vec<ComplexValType>),
SumRef(&'static [&'static ComplexValType]),
Lazy(&'static ComplexValType),
}
Variants§
Any
Char
Simple(ValType)
BoundedNumber(Option<f64>, Option<f64>)
Array(Box<ComplexValType>)
ArrayRef(&'static ComplexValType)
ObjectRef(&'static [(&'static str, &'static ComplexValType)])
AttrsOf(&'static ComplexValType)
Union(Vec<ComplexValType>)
UnionRef(&'static [&'static ComplexValType])
Sum(Vec<ComplexValType>)
SumRef(&'static [&'static ComplexValType])
Lazy(&'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§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 ==
.source§impl Trace for ComplexValType
impl Trace for ComplexValType
impl StructuralPartialEq for ComplexValType
Auto Trait Implementations§
impl RefUnwindSafe for ComplexValType
impl Send for ComplexValType
impl Sync for ComplexValType
impl Unpin for ComplexValType
impl UnwindSafe for ComplexValType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more