pub enum ValueTypeInfo {
Unit,
String,
Array,
Object,
Integer,
Float,
Bool,
Char,
External(&'static str),
Type,
Ptr,
Fn(Hash),
}Expand description
Type information about a value, that can be printed for human consumption through its Display implementation.
Variants§
Unit
An empty value indicating nothing.
String
A string.
Array
An array.
Object
An object.
Integer
A number.
Float
A float.
Bool
A boolean.
Char
A character.
External(&'static str)
Reference to a foreign type.
Type
The type of a value.
Ptr
A pointer to the stack.
Fn(Hash)
A function.
Trait Implementations§
Source§impl Clone for ValueTypeInfo
impl Clone for ValueTypeInfo
Source§fn clone(&self) -> ValueTypeInfo
fn clone(&self) -> ValueTypeInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValueTypeInfo
impl Debug for ValueTypeInfo
Source§impl Display for ValueTypeInfo
impl Display for ValueTypeInfo
impl Copy for ValueTypeInfo
Auto Trait Implementations§
impl Freeze for ValueTypeInfo
impl RefUnwindSafe for ValueTypeInfo
impl Send for ValueTypeInfo
impl Sync for ValueTypeInfo
impl Unpin for ValueTypeInfo
impl UnwindSafe for ValueTypeInfo
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