Enum pi_handler::GenType
source · [−]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 !RefUnwindSafe for GenType
impl !Send for GenType
impl !Sync for GenType
impl Unpin for GenType
impl !UnwindSafe for GenType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more