pub enum ValueType {
Unit,
String,
Array,
Object,
Integer,
Float,
Bool,
Char,
External(TypeId),
Type,
Ptr,
Fn(Hash),
}
Expand description
The type of an entry.
Variants§
Unit
An value indicating nothing.
String
A string.
Array
An array of dynamic values.
Object
An object of dynamic values.
Integer
A number.
Float
A float.
Bool
A boolean.
Char
A character.
External(TypeId)
Reference to a foreign type.
Type
The type of type values.
Ptr
A pointer to a value on the stack.
Fn(Hash)
A function pointer.
Trait Implementations§
Source§impl Ord for ValueType
impl Ord for ValueType
Source§impl PartialOrd for ValueType
impl PartialOrd for ValueType
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