pub struct DoubleBinding;Expand description
Binding for f64 (double) values using unsorted encoding.
Stored as raw IEEE 754 big-endian bits. The byte representation does NOT
sort in the same order as the double values. Use SortedDoubleBinding for
sortable keys.
Implementations§
Source§impl DoubleBinding
impl DoubleBinding
Trait Implementations§
Source§impl Clone for DoubleBinding
impl Clone for DoubleBinding
Source§fn clone(&self) -> DoubleBinding
fn clone(&self) -> DoubleBinding
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 DoubleBinding
Source§impl Debug for DoubleBinding
impl Debug for DoubleBinding
Source§impl Default for DoubleBinding
impl Default for DoubleBinding
Source§fn default() -> DoubleBinding
fn default() -> DoubleBinding
Returns the “default value” for a type. Read more
Source§impl EntryBinding<f64> for DoubleBinding
impl EntryBinding<f64> for DoubleBinding
Source§fn entry_to_object(&self, entry: &DatabaseEntry) -> Result<f64>
fn entry_to_object(&self, entry: &DatabaseEntry) -> Result<f64>
Converts a
DatabaseEntry to an object. Read moreSource§fn object_to_entry(&self, object: &f64, entry: &mut DatabaseEntry) -> Result<()>
fn object_to_entry(&self, object: &f64, entry: &mut DatabaseEntry) -> Result<()>
Converts an object to a
DatabaseEntry. Read moreSource§impl TupleBinding<f64> for DoubleBinding
impl TupleBinding<f64> for DoubleBinding
Source§fn tuple_to_object(&self, input: &mut TupleInput) -> Result<f64>
fn tuple_to_object(&self, input: &mut TupleInput) -> Result<f64>
Converts tuple input to an object. Read more
Source§fn object_to_tuple(&self, object: &f64, output: &mut TupleOutput) -> Result<()>
fn object_to_tuple(&self, object: &f64, output: &mut TupleOutput) -> Result<()>
Converts an object to tuple output. Read more
Source§fn entry_to_input(entry: &DatabaseEntry) -> TupleInput
fn entry_to_input(entry: &DatabaseEntry) -> TupleInput
Creates a
TupleInput from a DatabaseEntry.Auto Trait Implementations§
impl Freeze for DoubleBinding
impl RefUnwindSafe for DoubleBinding
impl Send for DoubleBinding
impl Sync for DoubleBinding
impl Unpin for DoubleBinding
impl UnsafeUnpin for DoubleBinding
impl UnwindSafe for DoubleBinding
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