pub struct SetLeafArgs {
pub current_root: Node,
pub previous_leaf: Node,
pub new_leaf: Node,
pub proof_vec: Vec<Node>,
pub index: u32,
}
Expand description
Arguments structure for setting a leaf in the tree.
Fields§
§current_root: Node
§previous_leaf: Node
§new_leaf: Node
§proof_vec: Vec<Node>
§index: u32
Auto Trait Implementations§
impl Freeze for SetLeafArgs
impl RefUnwindSafe for SetLeafArgs
impl Send for SetLeafArgs
impl Sync for SetLeafArgs
impl Unpin for SetLeafArgs
impl UnwindSafe for SetLeafArgs
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