pub struct PartialNode {
pub parent: u64,
/* private fields */
}
Expand description
Intermediate Node representation. Same as Node, but without the .hash
field.
Fields§
§parent: u64
Reference to this node’s parent node.
Implementations§
Trait Implementations§
Source§impl Clone for PartialNode
impl Clone for PartialNode
Source§fn clone(&self) -> PartialNode
fn clone(&self) -> PartialNode
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 PartialNode
impl Debug for PartialNode
Source§impl Deref for PartialNode
impl Deref for PartialNode
Source§impl DerefMut for PartialNode
impl DerefMut for PartialNode
Source§impl Ord for PartialNode
impl Ord for PartialNode
Source§fn cmp(&self, other: &PartialNode) -> Ordering
fn cmp(&self, other: &PartialNode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PartialNode
impl PartialEq for PartialNode
Source§impl PartialOrd for PartialNode
impl PartialOrd for PartialNode
impl Eq for PartialNode
impl StructuralPartialEq for PartialNode
Auto Trait Implementations§
impl Freeze for PartialNode
impl RefUnwindSafe for PartialNode
impl Send for PartialNode
impl Sync for PartialNode
impl Unpin for PartialNode
impl UnwindSafe for PartialNode
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