Struct plonk_wasm::gate_vector::fq::WasmFqGate
source · pub struct WasmFqGate {
pub typ: GateType,
pub wires: WasmGateWires,
pub coeffs: Vec<WasmF>,
}
Fields§
§typ: GateType
§wires: WasmGateWires
§coeffs: Vec<WasmF>
Implementations§
source§impl WasmFqGate
impl WasmFqGate
pub fn new( typ: GateType, wires: WasmGateWires, coeffs: WasmFlatVector<WasmF> ) -> Self
Trait Implementations§
source§impl From<&CircuitGate<Fp<MontBackend<FrConfig, 4>, 4>>> for WasmFqGate
impl From<&CircuitGate<Fp<MontBackend<FrConfig, 4>, 4>>> for WasmFqGate
source§impl From<CircuitGate<Fp<MontBackend<FrConfig, 4>, 4>>> for WasmFqGate
impl From<CircuitGate<Fp<MontBackend<FrConfig, 4>, 4>>> for WasmFqGate
source§impl From<WasmFqGate> for CircuitGate<F>
impl From<WasmFqGate> for CircuitGate<F>
source§fn from(ccg: WasmFqGate) -> Self
fn from(ccg: WasmFqGate) -> Self
Converts to this type from the input type.
source§impl From<WasmFqGate> for JsValue
impl From<WasmFqGate> for JsValue
source§fn from(value: WasmFqGate) -> Self
fn from(value: WasmFqGate) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for WasmFqGate
impl FromWasmAbi for WasmFqGate
source§impl IntoWasmAbi for WasmFqGate
impl IntoWasmAbi for WasmFqGate
source§impl LongRefFromWasmAbi for WasmFqGate
impl LongRefFromWasmAbi for WasmFqGate
source§impl OptionFromWasmAbi for WasmFqGate
impl OptionFromWasmAbi for WasmFqGate
source§impl OptionIntoWasmAbi for WasmFqGate
impl OptionIntoWasmAbi for WasmFqGate
source§impl RefFromWasmAbi for WasmFqGate
impl RefFromWasmAbi for WasmFqGate
§type Anchor = Ref<'static, WasmFqGate>
type Anchor = Ref<'static, WasmFqGate>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.source§impl RefMutFromWasmAbi for WasmFqGate
impl RefMutFromWasmAbi for WasmFqGate
Auto Trait Implementations§
impl RefUnwindSafe for WasmFqGate
impl Send for WasmFqGate
impl Sync for WasmFqGate
impl Unpin for WasmFqGate
impl UnwindSafe for WasmFqGate
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.