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