pub(crate) enum ArbitraryType {
Show 19 variants
String(String),
Float(f64),
Cons((Vec<ArbitraryType>, bool)),
Symbol(String),
Integer(i64),
Boolean(bool),
Unknown(Box<ArbitraryType>),
UnibyteString(String),
Vector(Vec<ArbitraryType>),
HashTable(Vec<(ArbitraryType, ArbitraryType)>),
Record((String, Vec<ArbitraryType>)),
Nil,
Function(u8),
ByteFn(u8),
Byte(u8),
Char(char),
Buffer(String),
Subr(u8),
BigInt(BigInt),
}
Variants§
String(String)
Float(f64)
Cons((Vec<ArbitraryType>, bool))
Symbol(String)
Integer(i64)
Boolean(bool)
Unknown(Box<ArbitraryType>)
UnibyteString(String)
Vector(Vec<ArbitraryType>)
HashTable(Vec<(ArbitraryType, ArbitraryType)>)
Record((String, Vec<ArbitraryType>))
Nil
Function(u8)
ByteFn(u8)
Byte(u8)
Char(char)
Buffer(String)
Subr(u8)
BigInt(BigInt)
Trait Implementations§
Source§impl Clone for ArbitraryType
impl Clone for ArbitraryType
Source§fn clone(&self) -> ArbitraryType
fn clone(&self) -> ArbitraryType
Returns a copy 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 ArbitraryType
impl Debug for ArbitraryType
Source§impl<'de> Deserialize<'de> for ArbitraryType
impl<'de> Deserialize<'de> for ArbitraryType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ArbitraryType
impl Display for ArbitraryType
Source§impl PartialEq for ArbitraryType
impl PartialEq for ArbitraryType
Source§impl PartialOrd for ArbitraryType
impl PartialOrd for ArbitraryType
Source§impl Serialize for ArbitraryType
impl Serialize for ArbitraryType
impl StructuralPartialEq for ArbitraryType
Auto Trait Implementations§
impl Freeze for ArbitraryType
impl RefUnwindSafe for ArbitraryType
impl Send for ArbitraryType
impl Sync for ArbitraryType
impl Unpin for ArbitraryType
impl UnwindSafe for ArbitraryType
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