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 ==.impl<Key> Copy for RootNodeCandidate<Key>where Key: Copy + NodeKey,
impl<Key> StructuralPartialEq for RootNodeCandidate<Key>where Key: NodeKey,
Auto Trait Implementations§
impl<Key> RefUnwindSafe for RootNodeCandidate<Key>where Key: RefUnwindSafe,
impl<Key> Send for RootNodeCandidate<Key>where Key: Send,
impl<Key> Sync for RootNodeCandidate<Key>where Key: Sync,
impl<Key> Unpin for RootNodeCandidate<Key>where Key: Unpin,
impl<Key> UnwindSafe for RootNodeCandidate<Key>where Key: UnwindSafe,
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer