pub enum ValueType {
Null,
Bool,
Int,
Float,
String,
List,
Map,
Function,
Bytes,
Error,
}Expand description
The type of a Fusabi value.
Variants§
Null
Null/nil value.
Bool
Boolean value.
Int
Integer value.
Float
Floating point value.
String
String value.
List
List/array value.
Map
Map/object value.
Function
Function value.
Bytes
Bytes/binary data.
Error
Error value.
Trait Implementations§
impl Copy for ValueType
impl Eq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl Freeze for ValueType
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnwindSafe for ValueType
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