[−][src]Enum ergo_lib::ast::value::Value
Runtime value
Variants
Boolean(bool)
Boolean
Byte(i8)
Byte
Short(i16)
Short
Int(i32)
Int
Long(i64)
Long
Big integer
GroupElement
Sigma property
Box
AVL tree
Collection of values of the same type
Tup(TupleItems<Value>)
Tuple (arbitrary type values)
Context(Rc<Context>)
Transaction(and blockchain) context info
Optional value
FuncValue(Box<FuncValue>)
lambda
Implementations
impl Value
[src]
pub fn sigma_prop(prop: SigmaProp) -> Value
[src]
Create Sigma property constant
Trait Implementations
impl Clone for Value
[src]
impl Debug for Value
[src]
impl Eq for Value
[src]
impl From<ErgoBox> for Value
[src]
impl<T: Into<Value>> From<Option<T>> for Value
[src]
impl<T: Into<SigmaProp>> From<T> for Value
[src]
impl<T: LiftIntoSType + StoredNonPrimitive + Into<Value>> From<Vec<T, Global>> for Value
[src]
impl From<Vec<i8, Global>> for Value
[src]
impl Into<Value> for EcPoint
[src]
impl PartialEq<Value> for Value
[src]
impl StructuralEq for Value
[src]
impl StructuralPartialEq for Value
[src]
impl TryExtractFrom<Value> for bool
[src]
pub fn try_extract_from(cv: Value) -> Result<bool, TryExtractFromError>
[src]
impl TryExtractFrom<Value> for i8
[src]
pub fn try_extract_from(cv: Value) -> Result<i8, TryExtractFromError>
[src]
impl TryExtractFrom<Value> for Vec<u8>
[src]
pub fn try_extract_from(v: Value) -> Result<Self, TryExtractFromError>
[src]
impl TryExtractFrom<Value> for Rc<Context>
[src]
pub fn try_extract_from(v: Value) -> Result<Self, TryExtractFromError>
[src]
impl<T: TryExtractFrom<Value>> TryExtractFrom<Value> for Option<T>
[src]
pub fn try_extract_from(v: Value) -> Result<Self, TryExtractFromError>
[src]
impl<TupleElement0: TryExtractFrom<Value>, TupleElement1: TryExtractFrom<Value>> TryExtractFrom<Value> for (TupleElement0, TupleElement1)
[src]
pub fn try_extract_from(v: Value) -> Result<Self, TryExtractFromError>
[src]
impl<TupleElement0: TryExtractFrom<Value>, TupleElement1: TryExtractFrom<Value>, TupleElement2: TryExtractFrom<Value>> TryExtractFrom<Value> for (TupleElement0, TupleElement1, TupleElement2)
[src]
pub fn try_extract_from(v: Value) -> Result<Self, TryExtractFromError>
[src]
impl<TupleElement0: TryExtractFrom<Value>, TupleElement1: TryExtractFrom<Value>, TupleElement2: TryExtractFrom<Value>, TupleElement3: TryExtractFrom<Value>> TryExtractFrom<Value> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)
[src]
pub fn try_extract_from(v: Value) -> Result<Self, TryExtractFromError>
[src]
impl TryExtractFrom<Value> for i16
[src]
pub fn try_extract_from(cv: Value) -> Result<i16, TryExtractFromError>
[src]
impl TryExtractFrom<Value> for i32
[src]
pub fn try_extract_from(cv: Value) -> Result<i32, TryExtractFromError>
[src]
impl TryExtractFrom<Value> for i64
[src]
pub fn try_extract_from(cv: Value) -> Result<i64, TryExtractFromError>
[src]
impl TryExtractFrom<Value> for EcPoint
[src]
pub fn try_extract_from(cv: Value) -> Result<EcPoint, TryExtractFromError>
[src]
impl TryExtractFrom<Value> for SigmaProp
[src]
pub fn try_extract_from(cv: Value) -> Result<SigmaProp, TryExtractFromError>
[src]
impl TryExtractFrom<Value> for ErgoBox
[src]
pub fn try_extract_from(c: Value) -> Result<Self, TryExtractFromError>
[src]
impl<T: TryExtractFrom<Value> + StoredNonPrimitive> TryExtractFrom<Value> for Vec<T>
[src]
pub fn try_extract_from(c: Value) -> Result<Self, TryExtractFromError>
[src]
impl TryExtractFrom<Value> for Vec<i8>
[src]
pub fn try_extract_from(v: Value) -> Result<Self, TryExtractFromError>
[src]
impl TryFrom<Value> for ProveDlog
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Value
[src]
impl !Send for Value
[src]
impl !Sync for Value
[src]
impl Unpin for Value
[src]
impl !UnwindSafe for Value
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<F> TryExtractInto<F> for F
[src]
pub fn try_extract_into<T>(Self) -> Result<T, TryExtractFromError> where
T: TryExtractFrom<F>,
[src]
T: TryExtractFrom<F>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,