pub struct OwnedNode<D: Borrow<[u8]>> { /* private fields */ }
Expand description
An OwnedNode
is an owned type from which a Node
can be constructed which borrows data from
the OwnedNode
. This is useful for trie iterators.
Implementations§
Trait Implementations§
source§impl<D: PartialEq + Borrow<[u8]>> PartialEq<OwnedNode<D>> for OwnedNode<D>
impl<D: PartialEq + Borrow<[u8]>> PartialEq<OwnedNode<D>> for OwnedNode<D>
impl<D: Eq + Borrow<[u8]>> Eq for OwnedNode<D>
impl<D: Borrow<[u8]>> StructuralEq for OwnedNode<D>
impl<D: Borrow<[u8]>> StructuralPartialEq for OwnedNode<D>
Auto Trait Implementations§
impl<D> RefUnwindSafe for OwnedNode<D>where D: RefUnwindSafe,
impl<D> Send for OwnedNode<D>where D: Send,
impl<D> Sync for OwnedNode<D>where D: Sync,
impl<D> Unpin for OwnedNode<D>where D: Unpin,
impl<D> UnwindSafe for OwnedNode<D>where D: UnwindSafe,
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