pub struct WasmFqGate {
pub typ: GateType,
pub wires: WasmGateWires,
pub coeffs: Vec<WasmPastaFq>,
}
Fields§
§typ: GateType
§wires: WasmGateWires
§coeffs: Vec<WasmPastaFq>
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<Fq>
impl From<WasmFqGate> for CircuitGate<Fq>
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
Source§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
Source§impl TryFromJsValue for WasmFqGate
impl TryFromJsValue for WasmFqGate
Source§impl VectorFromWasmAbi for WasmFqGate
impl VectorFromWasmAbi for WasmFqGate
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmFqGate]>
Source§impl VectorIntoWasmAbi for WasmFqGate
impl VectorIntoWasmAbi for WasmFqGate
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmFqGate]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmFqGate
impl WasmDescribeVector for WasmFqGate
Auto Trait Implementations§
impl Freeze for WasmFqGate
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,
Source§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
.