pub struct CircuitBody {
pub name: String,
pub internal_name: String,
pub internal_uniq: Option<u64>,
pub exported: bool,
pub pure: bool,
pub proof: bool,
pub arguments: Vec<Argument>,
pub result_type: TypeDescriptor,
pub body: Statement,
}Fields§
§name: String§internal_name: String§internal_uniq: Option<u64>Disambiguator for monomorphized generic circuits — see
Expression::Call::function_uniq. Optional; absent in older
fixtures.
exported: bool§pure: bool§proof: bool§arguments: Vec<Argument>§result_type: TypeDescriptor§body: StatementTrait Implementations§
Source§impl Clone for CircuitBody
impl Clone for CircuitBody
Source§impl Debug for CircuitBody
impl Debug for CircuitBody
Source§impl<'de> Deserialize<'de> for CircuitBody
impl<'de> Deserialize<'de> for CircuitBody
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 CircuitBody
impl Freeze for CircuitBodywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Argument>: Freeze,
*const TypeDescriptor is !null: Freeze,
PhantomData<TypeDescriptor>: Freeze,
PhantomData<StructField>: Freeze,
PhantomData<String>: Freeze,
PhantomData<ContractCircuitSig>: Freeze,
PhantomData<Statement>: 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<TupleItem>: Freeze,
PhantomData<VmInstr>: Freeze,
PhantomData<PathElement>: Freeze,
*const Statement is !null: Freeze,
PhantomData<BindingTarget>: Freeze,
impl Move for CircuitBody
impl RefUnwindSafe for CircuitBody
impl Send for CircuitBodywhere
RawVecInner: Send,
BoxRaw<TypeDescriptor>: Send,
NodeRef<Owned, String, RuntimeValue, LeafOrInternal>: Send,
BoxRaw<(String, RuntimeValue)>: Send,
BoxRaw<Expression>: Send,
BoxRaw<Statement>: Send,
impl Sync for CircuitBodywhere
RawVecInner: Sync,
BoxRaw<TypeDescriptor>: Sync,
NodeRef<Owned, String, RuntimeValue, LeafOrInternal>: Sync,
BoxRaw<(String, RuntimeValue)>: Sync,
BoxRaw<Expression>: Sync,
BoxRaw<Statement>: Sync,
impl Unpin for CircuitBodywhere
*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 CircuitBodywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Argument>: UnsafeUnpin,
*const TypeDescriptor is !null: UnsafeUnpin,
PhantomData<TypeDescriptor>: UnsafeUnpin,
PhantomData<StructField>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<ContractCircuitSig>: UnsafeUnpin,
PhantomData<Statement>: 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<TupleItem>: UnsafeUnpin,
PhantomData<VmInstr>: UnsafeUnpin,
PhantomData<PathElement>: UnsafeUnpin,
*const Statement is !null: UnsafeUnpin,
PhantomData<BindingTarget>: UnsafeUnpin,
impl UnwindSafe for CircuitBodywhere
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