pub enum DataType {
Bool,
U32,
U64,
U128,
BFE,
XFE,
Digest,
List(Box<DataType>),
Pair(Box<DataType>, Box<DataType>),
VoidPointer,
}
Variants§
Bool
U32
U64
U128
BFE
XFE
Digest
List(Box<DataType>)
Pair(Box<DataType>, Box<DataType>)
VoidPointer
Implementations§
source§impl DataType
impl DataType
pub fn random_elements(&self, count: usize) -> Vec<Vec<BFieldElement>>
Trait Implementations§
source§impl PartialEq<DataType> for DataType
impl PartialEq<DataType> for DataType
impl Eq for DataType
impl StructuralEq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more