enum Conversion {
Exact,
FloatToDouble,
IntToFloat,
IntToDouble,
Other,
None,
}
Expand description
Helper enum containing the type of conversion need for a call
Variants§
Exact
No conversion needed
FloatToDouble
Float to double conversion needed
IntToFloat
Int or uint to float conversion needed
IntToDouble
Int or uint to double conversion needed
Other
Other type of conversion needed
None
No conversion was yet registered
Trait Implementations§
source§impl Clone for Conversion
impl Clone for Conversion
source§fn clone(&self) -> Conversion
fn clone(&self) -> Conversion
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 moresource§impl Debug for Conversion
impl Debug for Conversion
source§impl PartialEq for Conversion
impl PartialEq for Conversion
impl Copy for Conversion
impl Eq for Conversion
impl StructuralPartialEq for Conversion
Auto Trait Implementations§
impl Freeze for Conversion
impl RefUnwindSafe for Conversion
impl Send for Conversion
impl Sync for Conversion
impl Unpin for Conversion
impl UnwindSafe for Conversion
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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.