[−][src]Enum ergo_lib::ast::ConstantVal
Constant 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
Coll(ConstantColl)
Collection of values of the same type
Tup(Vec<ConstantVal>)
Tuple (arbitrary type values)
Implementations
impl ConstantVal
[src]
pub fn sigma_prop(prop: SigmaProp) -> ConstantVal
[src]
Create Sigma property constant
Trait Implementations
impl Clone for ConstantVal
[src]
fn clone(&self) -> ConstantVal
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ConstantVal
[src]
impl Eq for ConstantVal
[src]
impl<T: Into<SigmaProp>> From<T> for ConstantVal
[src]
impl Into<ConstantVal> for bool
[src]
fn into(self) -> ConstantVal
[src]
impl Into<ConstantVal> for i8
[src]
fn into(self) -> ConstantVal
[src]
impl Into<ConstantVal> for i16
[src]
fn into(self) -> ConstantVal
[src]
impl Into<ConstantVal> for i32
[src]
fn into(self) -> ConstantVal
[src]
impl Into<ConstantVal> for i64
[src]
fn into(self) -> ConstantVal
[src]
impl Into<ConstantVal> for EcPoint
[src]
fn into(self) -> ConstantVal
[src]
impl<T: LiftIntoSType + StoredNonPrimitive + Into<ConstantVal>> Into<ConstantVal> for Vec<T>
[src]
fn into(self) -> ConstantVal
[src]
impl PartialEq<ConstantVal> for ConstantVal
[src]
fn eq(&self, other: &ConstantVal) -> bool
[src]
fn ne(&self, other: &ConstantVal) -> bool
[src]
impl StructuralEq for ConstantVal
[src]
impl StructuralPartialEq for ConstantVal
[src]
impl TryExtractFrom<ConstantVal> for bool
[src]
fn try_extract_from(cv: ConstantVal) -> Result<bool, TryExtractFromError>
[src]
impl TryExtractFrom<ConstantVal> for i8
[src]
fn try_extract_from(cv: ConstantVal) -> Result<i8, TryExtractFromError>
[src]
impl TryExtractFrom<ConstantVal> for i16
[src]
fn try_extract_from(cv: ConstantVal) -> Result<i16, TryExtractFromError>
[src]
impl TryExtractFrom<ConstantVal> for i32
[src]
fn try_extract_from(cv: ConstantVal) -> Result<i32, TryExtractFromError>
[src]
impl TryExtractFrom<ConstantVal> for i64
[src]
fn try_extract_from(cv: ConstantVal) -> Result<i64, TryExtractFromError>
[src]
impl TryExtractFrom<ConstantVal> for EcPoint
[src]
fn try_extract_from(cv: ConstantVal) -> Result<EcPoint, TryExtractFromError>
[src]
impl TryExtractFrom<ConstantVal> for SigmaProp
[src]
fn try_extract_from(cv: ConstantVal) -> Result<SigmaProp, TryExtractFromError>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ConstantVal
impl !Send for ConstantVal
impl !Sync for ConstantVal
impl Unpin for ConstantVal
impl !UnwindSafe for ConstantVal
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<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>,