Enum pi_handler::SGenType
source · [−]pub enum SGenType {
Show 24 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>>),
ArcBin(Arc<Vec<u8>>),
Array(Vec<SGenType>),
Map(SGenMapType),
Obj(HashMap<Atom, SGenType>),
}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>>)
ArcBin(Arc<Vec<u8>>)
Array(Vec<SGenType>)
Map(SGenMapType)
Obj(HashMap<Atom, SGenType>)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SGenType
impl Send for SGenType
impl Sync for SGenType
impl Unpin for SGenType
impl UnwindSafe for SGenType
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