pub struct VisionHasherDigestByteSliced { /* private fields */ }
Trait Implementations§
Source§impl Clone for VisionHasherDigestByteSliced
impl Clone for VisionHasherDigestByteSliced
Source§fn clone(&self) -> VisionHasherDigestByteSliced
fn clone(&self) -> VisionHasherDigestByteSliced
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 MultiDigest<HASHES_PER_BYTE_SLICED_PERMUTATION> for VisionHasherDigestByteSliced
impl MultiDigest<HASHES_PER_BYTE_SLICED_PERMUTATION> for VisionHasherDigestByteSliced
Source§type Digest = VisionHasherDigest
type Digest = VisionHasherDigest
The corresponding non-parallelized hash function.
Source§fn update(&mut self, data: [&[u8]; 32])
fn update(&mut self, data: [&[u8]; 32])
Process data, updating the internal state.
The number of rows in
data
must be equal to parallel_instances()
.Source§fn finalize_into(self, out: &mut [MaybeUninit<Output<Self::Digest>>; 32])
fn finalize_into(self, out: &mut [MaybeUninit<Output<Self::Digest>>; 32])
Write result into provided array and consume the hasher instance.
Source§fn finalize_into_reset(
&mut self,
out: &mut [MaybeUninit<Output<Self::Digest>>; 32],
)
fn finalize_into_reset( &mut self, out: &mut [MaybeUninit<Output<Self::Digest>>; 32], )
Write result into provided array and reset the hasher instance.
Source§fn new_with_prefix(data: impl AsRef<[u8]>) -> Self
fn new_with_prefix(data: impl AsRef<[u8]>) -> Self
Create new hasher instance which has processed the provided data.
Source§fn chain_update(self, data: [&[u8]; N]) -> Self
fn chain_update(self, data: [&[u8]; N]) -> Self
Process input data in a chained manner.
Auto Trait Implementations§
impl Freeze for VisionHasherDigestByteSliced
impl RefUnwindSafe for VisionHasherDigestByteSliced
impl Send for VisionHasherDigestByteSliced
impl Sync for VisionHasherDigestByteSliced
impl Unpin for VisionHasherDigestByteSliced
impl UnwindSafe for VisionHasherDigestByteSliced
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more