Struct kimchi::snarky::constraint_system::ScaleRound
source · pub struct ScaleRound<A> {
pub accs: Vec<(A, A)>,
pub bits: Vec<A>,
pub ss: Vec<A>,
pub base: (A, A),
pub n_prev: A,
pub n_next: A,
}
Fields§
§accs: Vec<(A, A)>
§bits: Vec<A>
§ss: Vec<A>
§base: (A, A)
§n_prev: A
§n_next: A
Trait Implementations§
source§impl<A: Debug> Debug for ScaleRound<A>
impl<A: Debug> Debug for ScaleRound<A>
source§impl<'from_value_lifetime, A> FromValue<'from_value_lifetime> for ScaleRound<A>where
Vec<(A, A)>: FromValue<'from_value_lifetime>,
A: FromValue<'from_value_lifetime>,
Vec<A>: FromValue<'from_value_lifetime>,
(A, A): FromValue<'from_value_lifetime>,
impl<'from_value_lifetime, A> FromValue<'from_value_lifetime> for ScaleRound<A>where Vec<(A, A)>: FromValue<'from_value_lifetime>, A: FromValue<'from_value_lifetime>, Vec<A>: FromValue<'from_value_lifetime>, (A, A): FromValue<'from_value_lifetime>,
source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
source§impl<A> IntoValue for ScaleRound<A>where
Vec<(A, A)>: IntoValue,
A: IntoValue,
Vec<A>: IntoValue,
(A, A): IntoValue,
impl<A> IntoValue for ScaleRound<A>where Vec<(A, A)>: IntoValue, A: IntoValue, Vec<A>: IntoValue, (A, A): IntoValue,
source§fn into_value(self, gc: &Runtime) -> Value
fn into_value(self, gc: &Runtime) -> Value
Convert to OCaml value
source§impl<A> OCamlBinding for ScaleRound<A>where
A: OCamlDesc,
impl<A> OCamlBinding for ScaleRound<A>where A: OCamlDesc,
source§impl<A> OCamlDesc for ScaleRound<A>where
A: OCamlDesc,
impl<A> OCamlDesc for ScaleRound<A>where A: 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<A> RefUnwindSafe for ScaleRound<A>where A: RefUnwindSafe,
impl<A> Send for ScaleRound<A>where A: Send,
impl<A> Sync for ScaleRound<A>where A: Sync,
impl<A> Unpin for ScaleRound<A>where A: Unpin,
impl<A> UnwindSafe for ScaleRound<A>where A: 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