pub enum DumpableValue<'a, D: Dumpable> {
}
Variants§
Integer(&'a BigInt)
Float(f64)
Complex(Complex64)
Boolean(bool)
Str(&'a str)
Bytes(&'a [u8])
Code(&'a CodeObject<D::Constant>)
Tuple(&'a [D])
None
Ellipsis
StopIter
List(&'a [D])
Set(&'a [D])
Frozenset(&'a [D])
Dict(&'a [(D, D)])
Trait Implementations§
source§impl<'a, C: Constant> From<BorrowedConstant<'a, C>> for DumpableValue<'a, C>
impl<'a, C: Constant> From<BorrowedConstant<'a, C>> for DumpableValue<'a, C>
source§fn from(c: BorrowedConstant<'a, C>) -> Self
fn from(c: BorrowedConstant<'a, C>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, D> Freeze for DumpableValue<'a, D>
impl<'a, D> RefUnwindSafe for DumpableValue<'a, D>where
<<D as Dumpable>::Constant as Constant>::Name: RefUnwindSafe,
D: RefUnwindSafe,
<D as Dumpable>::Constant: RefUnwindSafe,
impl<'a, D> Send for DumpableValue<'a, D>
impl<'a, D> Sync for DumpableValue<'a, D>
impl<'a, D> Unpin for DumpableValue<'a, D>
impl<'a, D> UnwindSafe for DumpableValue<'a, D>where
<<D as Dumpable>::Constant as Constant>::Name: RefUnwindSafe,
D: RefUnwindSafe,
<D as Dumpable>::Constant: RefUnwindSafe,
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