pub struct TreeState {
pub size: u64,
pub root: Hash,
}Expand description
What .state/treeState holds: the size and the root the tiles are
complete to. Two lines, the decimal size and the lower-case hex root.
Fields§
§size: u64Entries the tiles are complete to.
root: HashThe root at that size.
Implementations§
Trait Implementations§
impl Copy for TreeState
impl Eq for TreeState
impl StructuralPartialEq for TreeState
Auto Trait Implementations§
impl Freeze for TreeState
impl RefUnwindSafe for TreeState
impl Send for TreeState
impl Sync for TreeState
impl Unpin for TreeState
impl UnsafeUnpin for TreeState
impl UnwindSafe for TreeState
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