pub enum Shape<V> {
Bool,
Int(i64),
Float,
BigInt(BigInt),
Rational(Rational),
Decimal,
Text(usize),
List(Vec<V>),
Tuple(Vec<V>),
Other,
}Expand description
A value’s structure, as far as the supertask runtime reads it: the scalar kinds it treats apart, and the items of a list or a tuple.
Variants§
Bool
Int(i64)
Float
BigInt(BigInt)
Rational(Rational)
Decimal
Text(usize)
Text of this many bytes.
List(Vec<V>)
Tuple(Vec<V>)
Other
Auto Trait Implementations§
impl<V> Freeze for Shape<V>
impl<V> RefUnwindSafe for Shape<V>where
V: RefUnwindSafe,
impl<V> Send for Shape<V>where
V: Send,
impl<V> Sync for Shape<V>where
V: Sync,
impl<V> Unpin for Shape<V>where
V: Unpin,
impl<V> UnsafeUnpin for Shape<V>
impl<V> UnwindSafe for Shape<V>where
V: UnwindSafe,
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