pub enum Plain {
Null,
Bool(bool),
Integer(i64),
Real(f64),
Text(String),
Ref(u64),
List(Vec<Plain>),
Exact(Tagged),
}Expand description
A host value before coercion: what a host language holds without saying which IFC type it means.
Variants§
Null
None / null: written $.
Bool(bool)
A boolean.
Integer(i64)
An integer.
Real(f64)
A float.
Text(String)
A string.
Ref(u64)
An entity handle: entity #id of the same model.
List(Vec<Plain>)
A sequence.
Exact(Tagged)
A tagged value, written exactly as given.
Trait Implementations§
impl StructuralPartialEq for Plain
Auto Trait Implementations§
impl Freeze for Plain
impl RefUnwindSafe for Plain
impl Send for Plain
impl Sync for Plain
impl Unpin for Plain
impl UnsafeUnpin for Plain
impl UnwindSafe for Plain
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