pub enum DistanceBoundMethod {
RandomizedUpperBound,
RandomWindowUpperBound,
Exact,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DistanceBoundMethod
impl Clone for DistanceBoundMethod
Source§fn clone(&self) -> DistanceBoundMethod
fn clone(&self) -> DistanceBoundMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DistanceBoundMethod
Source§impl Debug for DistanceBoundMethod
impl Debug for DistanceBoundMethod
Source§impl<'de> Deserialize<'de> for DistanceBoundMethod
impl<'de> Deserialize<'de> for DistanceBoundMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DistanceBoundMethod
Source§impl PartialEq for DistanceBoundMethod
impl PartialEq for DistanceBoundMethod
Source§impl Serialize for DistanceBoundMethod
impl Serialize for DistanceBoundMethod
impl StructuralPartialEq for DistanceBoundMethod
Auto Trait Implementations§
impl Freeze for DistanceBoundMethod
impl RefUnwindSafe for DistanceBoundMethod
impl Send for DistanceBoundMethod
impl Sync for DistanceBoundMethod
impl Unpin for DistanceBoundMethod
impl UnsafeUnpin for DistanceBoundMethod
impl UnwindSafe for DistanceBoundMethod
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