Enum freya::prelude::RootNodeCandidate
pub enum RootNodeCandidate<Key>where
Key: NodeKey,{
Valid(Key),
None,
}
Expand description
Contains the best Root node candidate from where to start measuring
Variants§
Trait Implementations§
§impl<Key> Clone for RootNodeCandidate<Key>where
Key: Clone + NodeKey,
impl<Key> Clone for RootNodeCandidate<Key>where Key: Clone + NodeKey,
§fn clone(&self) -> RootNodeCandidate<Key>
fn clone(&self) -> RootNodeCandidate<Key>
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 more§impl<Key> Debug for RootNodeCandidate<Key>where
Key: Debug + NodeKey,
impl<Key> Debug for RootNodeCandidate<Key>where Key: Debug + NodeKey,
§impl<Key> PartialEq<RootNodeCandidate<Key>> for RootNodeCandidate<Key>where
Key: PartialEq<Key> + NodeKey,
impl<Key> PartialEq<RootNodeCandidate<Key>> for RootNodeCandidate<Key>where Key: PartialEq<Key> + NodeKey,
§fn eq(&self, other: &RootNodeCandidate<Key>) -> bool
fn eq(&self, other: &RootNodeCandidate<Key>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.