pub struct TreeNode {
pub height: usize,
pub leaves_count: i64,
/* private fields */
}
Expand description
Node of a binary tree.
This binary tree implementation has limited functionality and is tailored specifically for the PathORAM use case.
Fields§
§height: usize
§leaves_count: i64
Implementations§
Source§impl TreeNode
impl TreeNode
Auto Trait Implementations§
impl Freeze for TreeNode
impl RefUnwindSafe for TreeNode
impl Send for TreeNode
impl Sync for TreeNode
impl Unpin for TreeNode
impl UnwindSafe for TreeNode
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