[][src]Enum minsc::ast::Expr

pub enum Expr {
    Block(Block),
    Call(Call),
    Or(Or),
    And(And),
    Thresh(Thresh),
    Ident(Ident),
    WithProb(WithProb),
    Array(Array),
    ArrayAccess(ArrayAccess),
    ChildDerive(ChildDerive),
    PubKey(String),
    Hash(String),
    Number(usize),
    Duration(Duration),
    DateTime(String),
}

Expressions have no side-effects and produce a value

Variants

Block(Block)
Call(Call)
Or(Or)
And(And)
Thresh(Thresh)
Ident(Ident)
WithProb(WithProb)
Array(Array)
ArrayAccess(ArrayAccess)
ChildDerive(ChildDerive)
PubKey(String)
Hash(String)
Number(usize)
Duration(Duration)
DateTime(String)

Trait Implementations

impl Clone for Expr[src]

impl Debug for Expr[src]

impl Evaluate for Expr[src]

impl From<And> for Expr[src]

impl From<Array> for Expr[src]

impl From<ArrayAccess> for Expr[src]

impl From<Block> for Expr[src]

impl From<Call> for Expr[src]

impl From<ChildDerive> for Expr[src]

impl From<Duration> for Expr[src]

impl From<Ident> for Expr[src]

impl From<Or> for Expr[src]

impl From<Thresh> for Expr[src]

impl From<WithProb> for Expr[src]

impl From<usize> for Expr[src]

Auto Trait Implementations

impl RefUnwindSafe for Expr

impl Send for Expr

impl Sync for Expr

impl Unpin for Expr

impl UnwindSafe for Expr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.