pub enum DistanceValue {
Exact(usize),
Exceeded(usize),
}Variants§
Trait Implementations§
Source§impl Clone for DistanceValue
impl Clone for DistanceValue
Source§fn clone(&self) -> DistanceValue
fn clone(&self) -> DistanceValue
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 DistanceValue
impl Debug for DistanceValue
Source§impl Deref for DistanceValue
impl Deref for DistanceValue
Source§impl Hash for DistanceValue
impl Hash for DistanceValue
Source§impl Into<usize> for DistanceValue
impl Into<usize> for DistanceValue
Source§impl PartialEq for DistanceValue
impl PartialEq for DistanceValue
Source§impl PartialOrd for DistanceValue
impl PartialOrd for DistanceValue
impl Eq for DistanceValue
impl StructuralPartialEq for DistanceValue
Auto Trait Implementations§
impl Freeze for DistanceValue
impl RefUnwindSafe for DistanceValue
impl Send for DistanceValue
impl Sync for DistanceValue
impl Unpin for DistanceValue
impl UnwindSafe for DistanceValue
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