[−][src]Struct bm_le::Value
End value for 256-bit ssz binary merkle tree.
Trait Implementations
impl IntoTree for Value
[src]
fn into_tree<DB: WriteBackend>(
&self,
_db: &mut DB
) -> Result<<DB::Construct as Construct>::Value, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
[src]
&self,
_db: &mut DB
) -> Result<<DB::Construct as Construct>::Value, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl FromTree for Value
[src]
fn from_tree<DB: ReadBackend>(
root: &<DB::Construct as Construct>::Value,
_db: &mut DB
) -> Result<Self, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
[src]
root: &<DB::Construct as Construct>::Value,
_db: &mut DB
) -> Result<Self, Error<DB::Error>> where
DB::Construct: CompatibleConstruct,
impl Clone for Value
[src]
fn clone(&self) -> Value
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Ord for Value
[src]
fn cmp(&self, other: &Value) -> 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 AsRef<[u8]> for Value
[src]
impl Default for Value
[src]
impl From<usize> for Value
[src]
impl From<GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Value
[src]
fn from(array: GenericArray<u8, U32>) -> Self
[src]
impl PartialOrd<Value> for Value
[src]
fn partial_cmp(&self, other: &Value) -> Option<Ordering>
[src]
fn lt(&self, other: &Value) -> bool
[src]
fn le(&self, other: &Value) -> bool
[src]
fn gt(&self, other: &Value) -> bool
[src]
fn ge(&self, other: &Value) -> bool
[src]
impl Into<usize> for Value
[src]
impl PartialEq<Value> for Value
[src]
impl AsMut<[u8]> for Value
[src]
impl Eq for Value
[src]
impl Debug for Value
[src]
impl Hash for Value
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Encode for Value
[src]
fn encode_to<EncOut: Output>(&self, dest: &mut EncOut)
[src]
fn encode(&self) -> Vec<u8>
[src]
Convert self to an owned vector.
fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R,
[src]
F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.
impl Decode for Value
[src]
Auto Trait Implementations
impl Sync for Value
impl Send for Value
impl Unpin for Value
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
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> From<T> for 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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<S> Codec for S where
S: Encode + Decode,
[src]
S: Encode + Decode,
impl<T> KeyedVec for T where
T: Codec,
[src]
T: Codec,