pub enum TestbenchValue {
U64(u64),
Wide(BigUint),
}Expand description
Stack value: either a native u64 or a heap-allocated BigUint.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TestbenchValue
impl Clone for TestbenchValue
Source§fn clone(&self) -> TestbenchValue
fn clone(&self) -> TestbenchValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TestbenchValue
impl RefUnwindSafe for TestbenchValue
impl Send for TestbenchValue
impl Sync for TestbenchValue
impl Unpin for TestbenchValue
impl UnsafeUnpin for TestbenchValue
impl UnwindSafe for TestbenchValue
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