Struct fuel_merkle::sparse::MerkleTreeKey
source · pub struct MerkleTreeKey(_);
Expand description
The safe Merkle tree storage key prevents Merkle tree structure manipulations. The type contains only one constructor that hashes the storage key.
Implementations§
Trait Implementations§
source§impl Clone for MerkleTreeKey
impl Clone for MerkleTreeKey
source§fn clone(&self) -> MerkleTreeKey
fn clone(&self) -> MerkleTreeKey
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 Debug for MerkleTreeKey
impl Debug for MerkleTreeKey
source§impl From<MerkleTreeKey> for Bytes32
impl From<MerkleTreeKey> for Bytes32
source§fn from(value: MerkleTreeKey) -> Self
fn from(value: MerkleTreeKey) -> Self
Converts to this type from the input type.
impl Copy for MerkleTreeKey
Auto Trait Implementations§
impl RefUnwindSafe for MerkleTreeKey
impl Send for MerkleTreeKey
impl Sync for MerkleTreeKey
impl Unpin for MerkleTreeKey
impl UnwindSafe for MerkleTreeKey
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