pub enum ReturnType {
Distance,
Value,
}Variants§
Trait Implementations§
Source§impl Clone for ReturnType
impl Clone for ReturnType
Source§fn clone(&self) -> ReturnType
fn clone(&self) -> ReturnType
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 ReturnType
impl Debug for ReturnType
Source§impl<'de> Deserialize<'de> for ReturnType
impl<'de> Deserialize<'de> for ReturnType
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
Source§impl PartialEq for ReturnType
impl PartialEq for ReturnType
Source§impl Serialize for ReturnType
impl Serialize for ReturnType
impl Copy for ReturnType
impl StructuralPartialEq for ReturnType
Auto Trait Implementations§
impl Freeze for ReturnType
impl RefUnwindSafe for ReturnType
impl Send for ReturnType
impl Sync for ReturnType
impl Unpin for ReturnType
impl UnwindSafe for ReturnType
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