pub(crate) enum Type {
}
Variants§
String
Float
Cons
Symbol
Integer
PosInteger
Boolean
True
False
Unknown
Function
UnibyteString
Vector
HashTable
Record
ByteFn
Byte
Subr
Buffer
Nil
Char
CharTable
BigInt
CustomString(String)
Multiple(Vec<Type>)
CustomList(Vec<Type>)
Implementations§
Source§impl Type
impl Type
const SYMBOL_CHARS: &'static str = "[a-zA-Z][a-zA-Z0-9-]*"
const MAX_FIXNUM: i64 = 36_028_797_018_963_967i64
const MIN_FIXNUM: i64 = -36_028_797_018_963_968i64
fn strategy(self) -> BoxedStrategy<ArbitraryType>
fn fixnum_strategy() -> BoxedStrategy<i64>
fn pos_fixnum_strategy() -> BoxedStrategy<i64>
fn big_int_strategy() -> BoxedStrategy<BigInt>
fn cons_strategy() -> (VecStrategy<BoxedStrategy<ArbitraryType>>, BoxedStrategy<bool>)
pub(crate) fn any_object_strategy() -> BoxedStrategy<ArbitraryType>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Type
impl<'de> Deserialize<'de> for Type
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
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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