pub enum Node {
Group(Group),
Entry(Entry),
}
Expand description
An owned node in the database tree structure which can either be an Entry or Group
Variants§
Implementations§
Trait Implementations§
source§impl<'a> From<&'a mut Node> for NodeRefMut<'a>
impl<'a> From<&'a mut Node> for NodeRefMut<'a>
source§fn from(n: &'a mut Node) -> NodeRefMut<'a>
fn from(n: &'a mut Node) -> NodeRefMut<'a>
Converts to this type from the input type.
source§impl PartialEq for Node
impl PartialEq for Node
source§impl Serialize for Node
impl Serialize for Node
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.