#[repr(u8)]pub enum DataValue {
Show 18 variants
Text(Rc<str>),
Char(char),
Int(i32),
Long(i64),
Float(f32),
Double(f64),
ByteBuffer(Gc<GcCell<Box<[u8]>>>),
Array(Gc<GcCell<Box<[DataObjectRef]>>>),
List(Gc<GcCell<VecDeque<DataObjectRef>>>),
VarPointer(DataObjectRef),
FunctionPointer(FunctionPointerObjectRef),
Struct(Gc<StructObject>),
Object(LangObjectRef),
Error(Gc<ErrorObject>),
Null,
Void,
ArgumentSeparator(Rc<str>),
Type(DataType),
}
Variants§
Text(Rc<str>)
Char(char)
Int(i32)
Long(i64)
Float(f32)
Double(f64)
ByteBuffer(Gc<GcCell<Box<[u8]>>>)
Array(Gc<GcCell<Box<[DataObjectRef]>>>)
List(Gc<GcCell<VecDeque<DataObjectRef>>>)
VarPointer(DataObjectRef)
FunctionPointer(FunctionPointerObjectRef)
Struct(Gc<StructObject>)
Object(LangObjectRef)
Error(Gc<ErrorObject>)
Null
Void
ArgumentSeparator(Rc<str>)
Type(DataType)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DataValue
impl !RefUnwindSafe for DataValue
impl !Send for DataValue
impl !Sync for DataValue
impl Unpin for DataValue
impl !UnwindSafe for DataValue
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