pub struct SimilarityResultId(pub u64);Expand description
Identifies a result within a similarity session node.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for SimilarityResultId
impl Clone for SimilarityResultId
Source§fn clone(&self) -> SimilarityResultId
fn clone(&self) -> SimilarityResultId
Returns a duplicate 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 SimilarityResultId
impl Debug for SimilarityResultId
Source§impl Display for SimilarityResultId
impl Display for SimilarityResultId
Source§impl From<BNSimilarityResultId> for SimilarityResultId
impl From<BNSimilarityResultId> for SimilarityResultId
Source§fn from(value: BNSimilarityResultId) -> Self
fn from(value: BNSimilarityResultId) -> Self
Converts to this type from the input type.
Source§impl From<SimilarityResultId> for BNSimilarityResultId
impl From<SimilarityResultId> for BNSimilarityResultId
Source§fn from(value: SimilarityResultId) -> Self
fn from(value: SimilarityResultId) -> Self
Converts to this type from the input type.
Source§impl From<SimilarityResultId> for u64
impl From<SimilarityResultId> for u64
Source§fn from(value: SimilarityResultId) -> Self
fn from(value: SimilarityResultId) -> Self
Converts to this type from the input type.
Source§impl From<u64> for SimilarityResultId
impl From<u64> for SimilarityResultId
Source§impl Hash for SimilarityResultId
impl Hash for SimilarityResultId
Source§impl Ord for SimilarityResultId
impl Ord for SimilarityResultId
Source§fn cmp(&self, other: &SimilarityResultId) -> Ordering
fn cmp(&self, other: &SimilarityResultId) -> 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 SimilarityResultId
impl PartialEq for SimilarityResultId
Source§impl PartialOrd for SimilarityResultId
impl PartialOrd for SimilarityResultId
impl Copy for SimilarityResultId
impl Eq for SimilarityResultId
impl StructuralPartialEq for SimilarityResultId
Auto Trait Implementations§
impl Freeze for SimilarityResultId
impl RefUnwindSafe for SimilarityResultId
impl Send for SimilarityResultId
impl Sync for SimilarityResultId
impl Unpin for SimilarityResultId
impl UnsafeUnpin for SimilarityResultId
impl UnwindSafe for SimilarityResultId
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more