pub struct CamlLookupCommitments<CamlG> {
    pub sorted: Vec<CamlPolyComm<CamlG>>,
    pub aggreg: CamlPolyComm<CamlG>,
    pub runtime: Option<CamlPolyComm<CamlG>>,
}

Fields§

§sorted: Vec<CamlPolyComm<CamlG>>§aggreg: CamlPolyComm<CamlG>§runtime: Option<CamlPolyComm<CamlG>>

Trait Implementations§

source§

impl<CamlG: Clone> Clone for CamlLookupCommitments<CamlG>

source§

fn clone(&self) -> CamlLookupCommitments<CamlG>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<G, CamlG> From<CamlLookupCommitments<CamlG>> for LookupCommitments<G>where G: AffineCurve, PolyComm<G>: From<CamlPolyComm<CamlG>>,

source§

fn from(_: CamlLookupCommitments<CamlG>) -> LookupCommitments<G>

Converts to this type from the input type.
source§

impl<G, CamlG> From<LookupCommitments<G>> for CamlLookupCommitments<CamlG>where G: AffineCurve, CamlPolyComm<CamlG>: From<PolyComm<G>>,

source§

fn from(_: LookupCommitments<G>) -> Self

Converts to this type from the input type.
source§

impl<'from_value_lifetime, CamlG> FromValue<'from_value_lifetime> for CamlLookupCommitments<CamlG>where Vec<CamlPolyComm<CamlG>>: FromValue<'from_value_lifetime>, CamlG: FromValue<'from_value_lifetime>, CamlPolyComm<CamlG>: FromValue<'from_value_lifetime>, Option<CamlPolyComm<CamlG>>: FromValue<'from_value_lifetime>,

source§

fn from_value(value: Value) -> Self

Convert from OCaml value
source§

impl<CamlG> IntoValue for CamlLookupCommitments<CamlG>where Vec<CamlPolyComm<CamlG>>: IntoValue, CamlG: IntoValue, CamlPolyComm<CamlG>: IntoValue, Option<CamlPolyComm<CamlG>>: IntoValue,

source§

fn into_value(self, gc: &Runtime) -> Value

Convert to OCaml value
source§

impl<CamlG> OCamlBinding for CamlLookupCommitments<CamlG>where CamlG: OCamlDesc,

source§

fn ocaml_binding( env: &mut Env, rename: Option<&'static str>, new_type: bool ) -> String

will generate the OCaml bindings for a type (called root type). It takes the current environment [Env], as well as an optional name (if you wish to rename the type in OCaml).
source§

impl<CamlG> OCamlDesc for CamlLookupCommitments<CamlG>where CamlG: OCamlDesc,

source§

fn ocaml_desc(env: &Env, generics: &[&str]) -> String

describes the type in OCaml, given the current environment [Env] and the list of generic type parameters of the root type (the type that makes use of this type)
source§

fn unique_id() -> u128

Returns a unique ID for the type. This ID will not change if concrete type parameters are used.

Auto Trait Implementations§

§

impl<CamlG> RefUnwindSafe for CamlLookupCommitments<CamlG>where CamlG: RefUnwindSafe,

§

impl<CamlG> Send for CamlLookupCommitments<CamlG>where CamlG: Send,

§

impl<CamlG> Sync for CamlLookupCommitments<CamlG>where CamlG: Sync,

§

impl<CamlG> Unpin for CamlLookupCommitments<CamlG>where CamlG: Unpin,

§

impl<CamlG> UnwindSafe for CamlLookupCommitments<CamlG>where CamlG: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V