Struct plonk_wasm::gate_vector::fp::WasmFpGate
source · pub struct WasmFpGate {
pub typ: GateType,
pub wires: WasmGateWires,
pub coeffs: Vec<WasmF>,
}
Fields§
§typ: GateType
§wires: WasmGateWires
§coeffs: Vec<WasmF>
Implementations§
source§impl WasmFpGate
impl WasmFpGate
pub fn new( typ: GateType, wires: WasmGateWires, coeffs: WasmFlatVector<WasmF> ) -> Self
Trait Implementations§
source§impl From<&CircuitGate<Fp<MontBackend<FqConfig, 4>, 4>>> for WasmFpGate
impl From<&CircuitGate<Fp<MontBackend<FqConfig, 4>, 4>>> for WasmFpGate
source§impl From<CircuitGate<Fp<MontBackend<FqConfig, 4>, 4>>> for WasmFpGate
impl From<CircuitGate<Fp<MontBackend<FqConfig, 4>, 4>>> for WasmFpGate
source§impl From<WasmFpGate> for CircuitGate<F>
impl From<WasmFpGate> for CircuitGate<F>
source§fn from(ccg: WasmFpGate) -> Self
fn from(ccg: WasmFpGate) -> Self
Converts to this type from the input type.
source§impl From<WasmFpGate> for JsValue
impl From<WasmFpGate> for JsValue
source§fn from(value: WasmFpGate) -> Self
fn from(value: WasmFpGate) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for WasmFpGate
impl FromWasmAbi for WasmFpGate
source§impl IntoWasmAbi for WasmFpGate
impl IntoWasmAbi for WasmFpGate
source§impl LongRefFromWasmAbi for WasmFpGate
impl LongRefFromWasmAbi for WasmFpGate
source§impl OptionFromWasmAbi for WasmFpGate
impl OptionFromWasmAbi for WasmFpGate
source§impl OptionIntoWasmAbi for WasmFpGate
impl OptionIntoWasmAbi for WasmFpGate
source§impl RefFromWasmAbi for WasmFpGate
impl RefFromWasmAbi for WasmFpGate
§type Anchor = Ref<'static, WasmFpGate>
type Anchor = Ref<'static, WasmFpGate>
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 WasmFpGate
impl RefMutFromWasmAbi for WasmFpGate
Auto Trait Implementations§
impl RefUnwindSafe for WasmFpGate
impl Send for WasmFpGate
impl Sync for WasmFpGate
impl Unpin for WasmFpGate
impl UnwindSafe for WasmFpGate
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
.