Struct poly_commitment::commitment::caml::CamlPolyComm
source · pub struct CamlPolyComm<CamlG> {
pub unshifted: Vec<CamlG>,
pub shifted: Option<CamlG>,
}
Fields§
§unshifted: Vec<CamlG>
§shifted: Option<CamlG>
Trait Implementations§
source§impl<CamlG: Clone> Clone for CamlPolyComm<CamlG>
impl<CamlG: Clone> Clone for CamlPolyComm<CamlG>
source§fn clone(&self) -> CamlPolyComm<CamlG>
fn clone(&self) -> CamlPolyComm<CamlG>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<CamlG: Debug> Debug for CamlPolyComm<CamlG>
impl<CamlG: Debug> Debug for CamlPolyComm<CamlG>
source§impl<'a, G, CamlG> From<&'a CamlPolyComm<CamlG>> for PolyComm<G>where
G: AffineRepr + From<&'a CamlG> + From<CamlG>,
impl<'a, G, CamlG> From<&'a CamlPolyComm<CamlG>> for PolyComm<G>where G: AffineRepr + From<&'a CamlG> + From<CamlG>,
source§fn from(camlpolycomm: &'a CamlPolyComm<CamlG>) -> PolyComm<G>
fn from(camlpolycomm: &'a CamlPolyComm<CamlG>) -> PolyComm<G>
Converts to this type from the input type.
source§impl<'a, G, CamlG> From<&'a PolyComm<G>> for CamlPolyComm<CamlG>where
G: AffineRepr,
CamlG: From<G> + From<&'a G>,
impl<'a, G, CamlG> From<&'a PolyComm<G>> for CamlPolyComm<CamlG>where G: AffineRepr, CamlG: From<G> + From<&'a G>,
source§impl<G, CamlG> From<CamlPolyComm<CamlG>> for PolyComm<G>where
G: AffineRepr + From<CamlG>,
impl<G, CamlG> From<CamlPolyComm<CamlG>> for PolyComm<G>where G: AffineRepr + From<CamlG>,
source§fn from(camlpolycomm: CamlPolyComm<CamlG>) -> PolyComm<G>
fn from(camlpolycomm: CamlPolyComm<CamlG>) -> PolyComm<G>
Converts to this type from the input type.
source§impl<'from_value_lifetime, CamlG> FromValue<'from_value_lifetime> for CamlPolyComm<CamlG>where
Vec<CamlG>: FromValue<'from_value_lifetime>,
CamlG: FromValue<'from_value_lifetime>,
Option<CamlG>: FromValue<'from_value_lifetime>,
impl<'from_value_lifetime, CamlG> FromValue<'from_value_lifetime> for CamlPolyComm<CamlG>where Vec<CamlG>: FromValue<'from_value_lifetime>, CamlG: FromValue<'from_value_lifetime>, Option<CamlG>: FromValue<'from_value_lifetime>,
source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
source§impl<CamlG> IntoValue for CamlPolyComm<CamlG>where
Vec<CamlG>: IntoValue,
CamlG: IntoValue,
Option<CamlG>: IntoValue,
impl<CamlG> IntoValue for CamlPolyComm<CamlG>where Vec<CamlG>: IntoValue, CamlG: IntoValue, Option<CamlG>: IntoValue,
source§fn into_value(self, gc: &Runtime) -> Value
fn into_value(self, gc: &Runtime) -> Value
Convert to OCaml value
source§impl<CamlG> OCamlBinding for CamlPolyComm<CamlG>where
CamlG: OCamlDesc,
impl<CamlG> OCamlBinding for CamlPolyComm<CamlG>where CamlG: OCamlDesc,
source§impl<CamlG> OCamlDesc for CamlPolyComm<CamlG>where
CamlG: OCamlDesc,
impl<CamlG> OCamlDesc for CamlPolyComm<CamlG>where CamlG: OCamlDesc,
source§fn ocaml_desc(env: &Env, generics: &[&str]) -> String
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)
Auto Trait Implementations§
impl<CamlG> RefUnwindSafe for CamlPolyComm<CamlG>where CamlG: RefUnwindSafe,
impl<CamlG> Send for CamlPolyComm<CamlG>where CamlG: Send,
impl<CamlG> Sync for CamlPolyComm<CamlG>where CamlG: Sync,
impl<CamlG> Unpin for CamlPolyComm<CamlG>where CamlG: Unpin,
impl<CamlG> UnwindSafe for CamlPolyComm<CamlG>where CamlG: UnwindSafe,
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