[−][src]Struct storage_proofs::hasher::blake2s::Blake2sDomain
Trait Implementations
impl Domain for Blake2sDomain
[src]
fn serialize(&self) -> Vec<u8>
[src]
fn into_bytes(&self) -> Vec<u8>
[src]
fn try_from_bytes(raw: &[u8]) -> Result<Self>
[src]
fn write_bytes(&self, dest: &mut [u8]) -> Result<()>
[src]
impl HashFunction<Blake2sDomain> for Blake2sFunction
[src]
fn hash(data: &[u8]) -> Blake2sDomain
[src]
fn hash_leaf_circuit<E: JubjubEngine, CS: ConstraintSystem<E>>(
cs: CS,
left: &[Boolean],
right: &[Boolean],
height: usize,
params: &E::Params
) -> Result<AllocatedNum<E>, SynthesisError>
[src]
cs: CS,
left: &[Boolean],
right: &[Boolean],
height: usize,
params: &E::Params
) -> Result<AllocatedNum<E>, SynthesisError>
fn hash_circuit<E: JubjubEngine, CS: ConstraintSystem<E>>(
cs: CS,
bits: &[Boolean],
_params: &E::Params
) -> Result<AllocatedNum<E>, SynthesisError>
[src]
cs: CS,
bits: &[Boolean],
_params: &E::Params
) -> Result<AllocatedNum<E>, SynthesisError>
fn hash_leaf(data: &dyn LightHashable<Self>) -> T
[src]
fn hash_single_node(data: &dyn LightHashable<Self>) -> T
[src]
impl From<Fr> for Blake2sDomain
[src]
impl From<FrRepr> for Blake2sDomain
[src]
impl From<Blake2sDomain> for Fr
[src]
fn from(val: Blake2sDomain) -> Self
[src]
impl From<[u8; 32]> for Blake2sDomain
[src]
impl From<Blake2sDomain> for [u8; 32]
[src]
fn from(val: Blake2sDomain) -> Self
[src]
impl PartialEq<Blake2sDomain> for Blake2sDomain
[src]
fn eq(&self, other: &Blake2sDomain) -> bool
[src]
fn ne(&self, other: &Blake2sDomain) -> bool
[src]
impl Clone for Blake2sDomain
[src]
fn clone(&self) -> Blake2sDomain
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsRef<[u8]> for Blake2sDomain
[src]
impl Default for Blake2sDomain
[src]
fn default() -> Blake2sDomain
[src]
impl PartialOrd<Blake2sDomain> for Blake2sDomain
[src]
fn partial_cmp(&self, other: &Blake2sDomain) -> Option<Ordering>
[src]
fn lt(&self, other: &Blake2sDomain) -> bool
[src]
fn le(&self, other: &Blake2sDomain) -> bool
[src]
fn gt(&self, other: &Blake2sDomain) -> bool
[src]
fn ge(&self, other: &Blake2sDomain) -> bool
[src]
impl Eq for Blake2sDomain
[src]
impl Into<Blake2sDomain> for Blake2sHash
[src]
fn into(self) -> Blake2sDomain
[src]
impl Ord for Blake2sDomain
[src]
fn cmp(&self, other: &Blake2sDomain) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
🔬 This is a nightly-only experimental API. (
clamp
)Restrict a value to a certain interval. Read more
impl Copy for Blake2sDomain
[src]
impl Debug for Blake2sDomain
[src]
impl Serialize for Blake2sDomain
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Blake2sDomain
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Rand for Blake2sDomain
[src]
impl Hashable<Blake2sFunction> for Blake2sDomain
[src]
fn hash(&self, state: &mut Blake2sFunction)
[src]
fn hash_slice(data: &[Self], state: &mut H)
[src]
Feeds a slice of this type into the given [Hasher
]. Read more
impl Algorithm<Blake2sDomain> for Blake2sFunction
[src]
fn hash(&mut self) -> Blake2sDomain
[src]
fn reset(&mut self)
[src]
fn leaf(&mut self, leaf: Blake2sDomain) -> Blake2sDomain
[src]
fn node(
&mut self,
left: Blake2sDomain,
right: Blake2sDomain,
height: usize
) -> Blake2sDomain
[src]
&mut self,
left: Blake2sDomain,
right: Blake2sDomain,
height: usize
) -> Blake2sDomain
impl Element for Blake2sDomain
[src]
Auto Trait Implementations
impl Unpin for Blake2sDomain
impl Sync for Blake2sDomain
impl Send for Blake2sDomain
impl RefUnwindSafe for Blake2sDomain
impl UnwindSafe for Blake2sDomain
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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<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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,