Enum ivc::poseidon_55_0_7_3_2::columns::PoseidonColumn
source · pub enum PoseidonColumn<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> {
Input(usize),
Round(usize, usize),
RoundConstant(usize, usize),
}
Variants§
Trait Implementations§
source§impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> Clone for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> Clone for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
source§fn clone(&self) -> PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
fn clone(&self) -> PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
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<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> ColumnIndexer for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> ColumnIndexer for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
source§impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> Debug for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> Debug for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
source§impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> Ord for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> Ord for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
source§fn cmp(&self, other: &PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>) -> Ordering
fn cmp(&self, other: &PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> PartialEq<PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>> for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> PartialEq<PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>> for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
source§fn eq(&self, other: &PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>) -> bool
fn eq(&self, other: &PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> PartialOrd<PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>> for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> PartialOrd<PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>> for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
source§fn partial_cmp(
&self,
other: &PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
) -> Option<Ordering>
fn partial_cmp( &self, other: &PoseidonColumn<STATE_SIZE, NB_FULL_ROUND> ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> Copy for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> Eq for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> StructuralEq for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> StructuralPartialEq for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
Auto Trait Implementations§
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> RefUnwindSafe for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> Send for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> Sync for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> Unpin for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
impl<const STATE_SIZE: usize, const NB_FULL_ROUND: usize> UnwindSafe for PoseidonColumn<STATE_SIZE, NB_FULL_ROUND>
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more