pub struct Gate<F: PrimeField> {
pub typ: GateType,
pub wires: GateWires,
pub coeffs: Vec<F>,
}Fields§
§typ: GateType§wires: GateWires§coeffs: Vec<F>Trait Implementations§
Source§impl<F> From<&CircuitGate<F>> for Gate<F>where
F: PrimeField,
impl<F> From<&CircuitGate<F>> for Gate<F>where
F: PrimeField,
Source§fn from(cg: &CircuitGate<F>) -> Self
fn from(cg: &CircuitGate<F>) -> Self
Converts to this type from the input type.
Source§impl<F> From<CircuitGate<F>> for Gate<F>where
F: PrimeField,
impl<F> From<CircuitGate<F>> for Gate<F>where
F: PrimeField,
Source§fn from(cg: CircuitGate<F>) -> Self
fn from(cg: CircuitGate<F>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<F> Freeze for Gate<F>
impl<F> RefUnwindSafe for Gate<F>where
F: RefUnwindSafe,
impl<F> Send for Gate<F>
impl<F> Sync for Gate<F>
impl<F> Unpin for Gate<F>where
F: Unpin,
impl<F> UnsafeUnpin for Gate<F>
impl<F> UnwindSafe for Gate<F>where
F: 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