pub struct Constructor {
pub arguments: Vec<Argument>,
pub initial_state: StateValue,
pub init_ops: Vec<Expression>,
pub register_operations: Vec<String>,
pub body: Statement,
}Fields§
§arguments: Vec<Argument>§initial_state: StateValue§init_ops: Vec<Expression>§register_operations: Vec<String>§body: StatementTrait Implementations§
Source§impl Clone for Constructor
impl Clone for Constructor
Source§impl Debug for Constructor
impl Debug for Constructor
Source§impl Default for Constructor
impl Default for Constructor
Source§impl<'de> Deserialize<'de> for Constructor
impl<'de> Deserialize<'de> for Constructor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for Constructor
impl Freeze for Constructorwhere
*const u8 is !null: Freeze,
PhantomData<Argument>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<RuntimeValue>: Freeze,
*const LeafNode<String, RuntimeValue> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, RuntimeValue)>>: Freeze,
*const Expression is !null: Freeze,
PhantomData<Expression>: Freeze,
PhantomData<StateValue>: Freeze,
PhantomData<MapEntry>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Statement>: Freeze,
*const TypeDescriptor is !null: Freeze,
PhantomData<TypeDescriptor>: Freeze,
PhantomData<StructField>: Freeze,
PhantomData<ContractCircuitSig>: Freeze,
PhantomData<TupleItem>: Freeze,
PhantomData<VmInstr>: Freeze,
PhantomData<PathElement>: Freeze,
*const Statement is !null: Freeze,
PhantomData<BindingTarget>: Freeze,
impl Move for Constructor
impl RefUnwindSafe for Constructor
impl Send for Constructorwhere
RawVecInner: Send,
BoxRaw<TypeDescriptor>: Send,
NodeRef<Owned, String, RuntimeValue, LeafOrInternal>: Send,
BoxRaw<(String, RuntimeValue)>: Send,
BoxRaw<Expression>: Send,
BoxRaw<Statement>: Send,
impl Sync for Constructorwhere
RawVecInner: Sync,
BoxRaw<TypeDescriptor>: Sync,
NodeRef<Owned, String, RuntimeValue, LeafOrInternal>: Sync,
BoxRaw<(String, RuntimeValue)>: Sync,
BoxRaw<Expression>: Sync,
BoxRaw<Statement>: Sync,
impl Unpin for Constructorwhere
*const u8 is !null: Unpin,
Box<TypeDescriptor>: Unpin,
*const LeafNode<String, RuntimeValue> is !null: Unpin,
Box<(String, RuntimeValue)>: Unpin,
Box<Expression>: Unpin,
Box<Statement>: Unpin,
impl UnsafeUnpin for Constructorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Argument>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<RuntimeValue>: UnsafeUnpin,
*const LeafNode<String, RuntimeValue> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, RuntimeValue)>>: UnsafeUnpin,
*const Expression is !null: UnsafeUnpin,
PhantomData<Expression>: UnsafeUnpin,
PhantomData<StateValue>: UnsafeUnpin,
PhantomData<MapEntry>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Statement>: UnsafeUnpin,
*const TypeDescriptor is !null: UnsafeUnpin,
PhantomData<TypeDescriptor>: UnsafeUnpin,
PhantomData<StructField>: UnsafeUnpin,
PhantomData<ContractCircuitSig>: UnsafeUnpin,
PhantomData<TupleItem>: UnsafeUnpin,
PhantomData<VmInstr>: UnsafeUnpin,
PhantomData<PathElement>: UnsafeUnpin,
*const Statement is !null: UnsafeUnpin,
PhantomData<BindingTarget>: UnsafeUnpin,
impl UnwindSafe for Constructorwhere
RawVecInner: UnwindSafe,
BoxRaw<TypeDescriptor>: UnwindSafe,
BTreeMap<String, RuntimeValue>: UnwindSafe,
BoxRaw<Expression>: UnwindSafe,
BoxRaw<Statement>: UnwindSafe,
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