pub enum GenType {
Show 27 variants
Nil,
Bool(bool),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
U128(u128),
USize(usize),
I8(i8),
I16(i16),
I32(i32),
I64(i64),
I128(i128),
ISize(isize),
F32(f32),
F64(f64),
Str(String),
String(Atom),
Bin(Vec<u8>),
BoxBin(Box<Vec<u8>>),
RcBin(Rc<Vec<u8>>),
ArcBin(Arc<Vec<u8>>),
PtrBin(*const u8),
Pointer(*const dyn Any),
Array(Vec<GenType>),
Map(GenMapType),
Obj(HashMap<Atom, GenType>),
}Variants§
Nil
Bool(bool)
U8(u8)
U16(u16)
U32(u32)
U64(u64)
U128(u128)
USize(usize)
I8(i8)
I16(i16)
I32(i32)
I64(i64)
I128(i128)
ISize(isize)
F32(f32)
F64(f64)
Str(String)
String(Atom)
Bin(Vec<u8>)
BoxBin(Box<Vec<u8>>)
RcBin(Rc<Vec<u8>>)
ArcBin(Arc<Vec<u8>>)
PtrBin(*const u8)
Pointer(*const dyn Any)
Array(Vec<GenType>)
Map(GenMapType)
Obj(HashMap<Atom, GenType>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GenType
impl !RefUnwindSafe for GenType
impl !Send for GenType
impl !Sync for GenType
impl Unpin for GenType
impl !UnwindSafe for GenType
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