Enum aerospike::FloatValue
source · pub enum FloatValue {
F32(u32),
F64(u64),
}
Expand description
Container for floating point bin values stored in the Aerospike database.
Variants§
F32(u32)
Container for single precision float values.
F64(u64)
Container for double precision float values.
Trait Implementations§
source§impl Clone for FloatValue
impl Clone for FloatValue
source§fn clone(&self) -> FloatValue
fn clone(&self) -> FloatValue
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 FloatValue
impl Debug for FloatValue
source§impl Display for FloatValue
impl Display for FloatValue
source§impl<'a> From<&'a FloatValue> for f32
impl<'a> From<&'a FloatValue> for f32
source§fn from(val: &FloatValue) -> f32
fn from(val: &FloatValue) -> f32
Converts to this type from the input type.
source§impl<'a> From<&'a FloatValue> for f64
impl<'a> From<&'a FloatValue> for f64
source§fn from(val: &FloatValue) -> f64
fn from(val: &FloatValue) -> f64
Converts to this type from the input type.
source§impl<'a> From<&'a f32> for FloatValue
impl<'a> From<&'a f32> for FloatValue
source§fn from(val: &f32) -> FloatValue
fn from(val: &f32) -> FloatValue
Converts to this type from the input type.
source§impl<'a> From<&'a f64> for FloatValue
impl<'a> From<&'a f64> for FloatValue
source§fn from(val: &f64) -> FloatValue
fn from(val: &f64) -> FloatValue
Converts to this type from the input type.
source§impl From<FloatValue> for f32
impl From<FloatValue> for f32
source§fn from(val: FloatValue) -> f32
fn from(val: FloatValue) -> f32
Converts to this type from the input type.
source§impl From<FloatValue> for f64
impl From<FloatValue> for f64
source§fn from(val: FloatValue) -> f64
fn from(val: FloatValue) -> f64
Converts to this type from the input type.
source§impl From<f32> for FloatValue
impl From<f32> for FloatValue
source§fn from(val: f32) -> FloatValue
fn from(val: f32) -> FloatValue
Converts to this type from the input type.
source§impl From<f64> for FloatValue
impl From<f64> for FloatValue
source§fn from(val: f64) -> FloatValue
fn from(val: f64) -> FloatValue
Converts to this type from the input type.
source§impl Hash for FloatValue
impl Hash for FloatValue
source§impl PartialEq<FloatValue> for FloatValue
impl PartialEq<FloatValue> for FloatValue
source§fn eq(&self, other: &FloatValue) -> bool
fn eq(&self, other: &FloatValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FloatValue
impl StructuralEq for FloatValue
impl StructuralPartialEq for FloatValue
Auto Trait Implementations§
impl RefUnwindSafe for FloatValue
impl Send for FloatValue
impl Sync for FloatValue
impl Unpin for FloatValue
impl UnwindSafe for FloatValue
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