Enum move_compiler::parser::ast::SpecBlockMember_   
source · [−]pub enum SpecBlockMember_ {
    Condition {
        kind: SpecConditionKind,
        properties: Vec<PragmaProperty>,
        exp: Exp,
        additional_exps: Vec<Exp>,
    },
    Function {
        uninterpreted: bool,
        name: FunctionName,
        signature: FunctionSignature,
        body: FunctionBody,
    },
    Variable {
        is_global: bool,
        name: Name,
        type_parameters: Vec<(Name, Vec<Ability>)>,
        type_: Type,
        init: Option<Exp>,
    },
    Let {
        name: Name,
        post_state: bool,
        def: Exp,
    },
    Update {
        lhs: Exp,
        rhs: Exp,
    },
    Include {
        properties: Vec<PragmaProperty>,
        exp: Exp,
    },
    Apply {
        exp: Exp,
        patterns: Vec<SpecApplyPattern>,
        exclusion_patterns: Vec<SpecApplyPattern>,
    },
    Pragma {
        properties: Vec<PragmaProperty>,
    },
}Variants
Condition
Function
Variable
Let
Update
Include
Apply
Pragma
Fields
properties: Vec<PragmaProperty>Trait Implementations
sourceimpl Clone for SpecBlockMember_
 
impl Clone for SpecBlockMember_
sourcefn clone(&self) -> SpecBlockMember_
 
fn clone(&self) -> SpecBlockMember_
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SpecBlockMember_
 
impl Debug for SpecBlockMember_
sourceimpl PartialEq<SpecBlockMember_> for SpecBlockMember_
 
impl PartialEq<SpecBlockMember_> for SpecBlockMember_
sourcefn eq(&self, other: &SpecBlockMember_) -> bool
 
fn eq(&self, other: &SpecBlockMember_) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SpecBlockMember_) -> bool
 
fn ne(&self, other: &SpecBlockMember_) -> bool
This method tests for !=.
impl StructuralPartialEq for SpecBlockMember_
Auto Trait Implementations
impl RefUnwindSafe for SpecBlockMember_
impl Send for SpecBlockMember_
impl Sync for SpecBlockMember_
impl Unpin for SpecBlockMember_
impl UnwindSafe for SpecBlockMember_
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more