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>
impl<'a, G, CamlG> From<&'a CamlPolyComm<CamlG>> for PolyComm<G>
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>
impl<'a, G, CamlG> From<&'a PolyComm<G>> for CamlPolyComm<CamlG>
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>
impl<'from_value_lifetime, CamlG> FromValue<'from_value_lifetime> for CamlPolyComm<CamlG>
Source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
Source§impl<CamlG> IntoValue for CamlPolyComm<CamlG>
impl<CamlG> IntoValue for CamlPolyComm<CamlG>
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> Freeze for CamlPolyComm<CamlG>where
CamlG: Freeze,
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