pub struct WasmFpGate {
pub typ: i32,
pub wires: NapiGateWires,
pub coeffs: Vec<u8>,
}Fields§
§typ: i32§wires: NapiGateWires§coeffs: Vec<u8>Implementations§
Source§impl NapiFpGate
impl NapiFpGate
fn into_inner(self) -> Result<CircuitGate<Fp>>
fn from_inner(value: &CircuitGate<Fp>) -> Self
Trait Implementations§
Source§impl Clone for NapiFpGate
impl Clone for NapiFpGate
Source§impl Debug for NapiFpGate
impl Debug for NapiFpGate
Source§impl Default for NapiFpGate
impl Default for NapiFpGate
Source§impl FromNapiValue for NapiFpGate
impl FromNapiValue for NapiFpGate
Source§unsafe fn from_napi_value(
env: napi_env,
napi_val: napi_value,
) -> Result<NapiFpGate>
unsafe fn from_napi_value( env: napi_env, napi_val: napi_value, ) -> Result<NapiFpGate>
Safety Read more
fn from_unknown(value: Unknown<'_>) -> Result<Self, Error>
Source§impl ToNapiValue for NapiFpGate
impl ToNapiValue for NapiFpGate
Source§unsafe fn to_napi_value(env: napi_env, val: NapiFpGate) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: NapiFpGate) -> Result<napi_value>
Safety Read more
fn into_unknown(self, env: &Env) -> Result<Unknown<'_>, Error>
Source§impl TypeName for NapiFpGate
impl TypeName for NapiFpGate
Auto Trait Implementations§
impl Freeze for NapiFpGate
impl RefUnwindSafe for NapiFpGate
impl Send for NapiFpGate
impl Sync for NapiFpGate
impl Unpin for NapiFpGate
impl UnsafeUnpin for NapiFpGate
impl UnwindSafe for NapiFpGate
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