Struct kimchi_stubs::CamlPolyComm
source · pub struct CamlPolyComm<CamlG> {
pub unshifted: Vec<CamlG, Global>,
pub shifted: Option<CamlG>,
}
Expand description
Handy re-exports
Fields§
§unshifted: Vec<CamlG, Global>
§shifted: Option<CamlG>
Trait Implementations§
source§impl<CamlG> Clone for CamlPolyComm<CamlG>where
CamlG: Clone,
impl<CamlG> Clone for CamlPolyComm<CamlG>where CamlG: Clone,
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 for CamlPolyComm<CamlG>where
CamlG: Debug,
impl<CamlG> Debug for CamlPolyComm<CamlG>where CamlG: Debug,
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§fn from(polycomm: &'a PolyComm<G>) -> CamlPolyComm<CamlG>
fn from(polycomm: &'a PolyComm<G>) -> CamlPolyComm<CamlG>
Converts to this type from the input type.
source§impl<G, CamlG> From<PolyComm<G>> for CamlPolyComm<CamlG>where
G: AffineRepr,
CamlG: From<G>,
impl<G, CamlG> From<PolyComm<G>> for CamlPolyComm<CamlG>where G: AffineRepr, CamlG: From<G>,
source§fn from(polycomm: PolyComm<G>) -> CamlPolyComm<CamlG>
fn from(polycomm: PolyComm<G>) -> CamlPolyComm<CamlG>
Converts to this type from the input type.
source§impl<'from_value_lifetime, CamlG> FromValue<'from_value_lifetime> for CamlPolyComm<CamlG>where
Vec<CamlG, Global>: 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, Global>: FromValue<'from_value_lifetime>, CamlG: FromValue<'from_value_lifetime>, Option<CamlG>: FromValue<'from_value_lifetime>,
source§fn from_value(value: Value) -> CamlPolyComm<CamlG>
fn from_value(value: Value) -> CamlPolyComm<CamlG>
Convert from OCaml value
source§impl<CamlG> IntoValue for CamlPolyComm<CamlG>where
Vec<CamlG, Global>: IntoValue,
CamlG: IntoValue,
Option<CamlG>: IntoValue,
impl<CamlG> IntoValue for CamlPolyComm<CamlG>where Vec<CamlG, Global>: IntoValue, CamlG: IntoValue, Option<CamlG>: IntoValue,
source§fn into_value(self, gc: &OCamlRuntime) -> Value
fn into_value(self, gc: &OCamlRuntime) -> 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