[−][src]Struct neptune::poseidon::SimplePoseidonBatchHasher
Trait Implementations
impl<'a, A> BatchHasher<A> for SimplePoseidonBatchHasher<'a, A> where
A: 'a + Arity<Fr>,
[src]
A: 'a + Arity<Fr>,
fn hash(&mut self, preimages: &[GenericArray<Fr, A>]) -> Result<Vec<Fr>, Error>
[src]
fn max_batch_size(&self) -> usize
[src]
fn hash_into_slice(
&mut self,
target_slice: &mut [Scalar],
preimages: &[GenericArray<Scalar, A>]
) -> Result<(), Error>
[src]
&mut self,
target_slice: &mut [Scalar],
preimages: &[GenericArray<Scalar, A>]
) -> Result<(), Error>
impl<'a, A: Debug> Debug for SimplePoseidonBatchHasher<'a, A> where
A: Arity<Fr>,
[src]
A: Arity<Fr>,
Auto Trait Implementations
impl<'a, A> RefUnwindSafe for SimplePoseidonBatchHasher<'a, A> where
A: RefUnwindSafe,
<<A as Arity<Fr>>::ConstantsSize as ArrayLength<Fr>>::ArrayType: RefUnwindSafe,
A: RefUnwindSafe,
<<A as Arity<Fr>>::ConstantsSize as ArrayLength<Fr>>::ArrayType: RefUnwindSafe,
impl<'a, A> Send for SimplePoseidonBatchHasher<'a, A> where
A: Send + Sync,
<A as Arity<Fr>>::ConstantsSize: ArrayLength<Fr>,
A: Send + Sync,
<A as Arity<Fr>>::ConstantsSize: ArrayLength<Fr>,
impl<'a, A> Sync for SimplePoseidonBatchHasher<'a, A> where
A: Sync,
<A as Arity<Fr>>::ConstantsSize: ArrayLength<Fr>,
A: Sync,
<A as Arity<Fr>>::ConstantsSize: ArrayLength<Fr>,
impl<'a, A> Unpin for SimplePoseidonBatchHasher<'a, A> where
A: Unpin,
<<A as Arity<Fr>>::ConstantsSize as ArrayLength<Fr>>::ArrayType: Unpin,
A: Unpin,
<<A as Arity<Fr>>::ConstantsSize as ArrayLength<Fr>>::ArrayType: Unpin,
impl<'a, A> UnwindSafe for SimplePoseidonBatchHasher<'a, A> where
A: RefUnwindSafe + UnwindSafe,
<<A as Arity<Fr>>::ConstantsSize as ArrayLength<Fr>>::ArrayType: UnwindSafe,
A: RefUnwindSafe + UnwindSafe,
<<A as Arity<Fr>>::ConstantsSize as ArrayLength<Fr>>::ArrayType: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,