pub enum Value {
Null,
Derived,
Integer(i64),
Real(f64),
String(String),
Enum(String),
Ref(u64),
Binary(String),
List(Vec<Value>),
Typed(String, Box<Value>),
}Expand description
One parameter of an entity instance.
Variants§
Null
$: no value.
Derived
*: a value derived from others, not written.
Integer(i64)
Real(f64)
String(String)
Enum(String)
.NAME., held without the dots: .T. is Enum("T").
Ref(u64)
#id: another instance.
Binary(String)
"...": a bit string, held as written.
List(Vec<Value>)
Typed(String, Box<Value>)
NAME(value): a value of a defined type, as LENGTH_MEASURE(1.5).
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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